User Tools

Site Tools


git:git-branches

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
git:git-branches [2023/10/27 16:03] – [Remote pull/push from/to specific branch] admingit:git-branches [2023/10/27 16:03] – [Pull/push from/to specific remote branch] admin
Line 40: Line 40:
    
 Tu push a local branch to remote, we use **--set-upstream** :   Tu push a local branch to remote, we use **--set-upstream** :  
 +<code bash>
 git push --set-upstream origin new_branch git push --set-upstream origin new_branch
 +</code>
  
 ===== Working with multiple branches ===== ===== Working with multiple branches =====
git/git-branches.txt · Last modified: 2023/10/31 11:51 by admin