File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22name : Set upstream branch
3- command : git push -u origin HEAD
3+ command : git branch --set-upstream-to={{remote}}/{{remote_branch}} {{local_branch}}
4+ arguments :
5+ - name : remote
6+ description : The name of the remote
7+ default_value : origin
8+ - name : remote_branch
9+ description : The name of the remote branch that the local branch should be point to
10+ default_value : main
11+ - name : local_branch
12+ description : The name of the local branch that we want to set
13+ default_value : main
414tags :
515 - git
6- description : Sync the local branch to the remote branch with the same name.
7- arguments : []
16+ description : Sets the upstream for a local branch to a remote branch.
817shells : []
Original file line number Diff line number Diff line change 1+ ---
2+ name : Synchronize upstream branch
3+ command : git push -u origin HEAD
4+ tags :
5+ - git
6+ description : Sync the local branch to the remote branch with the same name.
7+ arguments : []
8+ shells : []
You can’t perform that action at this time.
0 commit comments