Difference between revisions of "Git push -u"
Jump to navigation
Jump to search
↑ https://devconnected.com/how-to-push-git-branch-to-remote/
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | * [[git push -u origin master]] | + | * <code>[[git push -u origin master]]</code> |
Revision as of 07:45, 24 November 2022
if your upstream branch is not already created, you will need to create it by running the “git push” command with the “-u” option for upstream. [1]
See also
git push
[-v
|--set-upstream | -o | --set-upstream origin master
|-u origin main
|origin master
|-u origin master
|--delete master
|-u | origin HEAD | --dry-run
], Git: upstream,git push --force
Advertising: