Changes

Jump to navigation Jump to search
383 bytes added ,  20:40, 4 June 2023
Line 164: Line 164:  
       &ensp; &ensp; - Type <b>git push -u origin main</b><br>
 
       &ensp; &ensp; - Type <b>git push -u origin main</b><br>
 
       &ensp; &ensp; &ensp; &ensp; You'll need to enter your GitHub profile name and your Personal Access Token to complete the push<br><br>
 
       &ensp; &ensp; &ensp; &ensp; You'll need to enter your GitHub profile name and your Personal Access Token to complete the push<br><br>
 +
      &ensp; &ensp; - The purpose of the <i>-u</i> flag is to establish an upstream relationship between the local branch and the specified remote branch<br>
 +
      &emsp; &nbsp; &nbsp; This is typically done on the initial push to a remote repository<br>
 +
      &emsp; &nbsp; &nbsp; After that, you don't need to use the -u flag again for subsequent pushes to the same branch<br><br>
    
       &ensp; 9) At this point your online GitHub repository should be the same as the working folder on your local computer.<br>
 
       &ensp; 9) At this point your online GitHub repository should be the same as the working folder on your local computer.<br>
581

edits

Navigation menu