git:git-branches
Differences
This shows you the differences between two versions of the page.
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] admin | git: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 | ||
+ | </ | ||
===== Working with multiple branches ===== | ===== Working with multiple branches ===== |
git/git-branches.txt · Last modified: 2023/10/31 11:51 by admin