Difference between revisions of "Git push -u"
Jump to navigation
Jump to search
↑ https://devconnected.com/how-to-push-git-branch-to-remote/
Line 8: | Line 8: | ||
== Related == | == Related == | ||
− | <code>[[Git: upstream]]</code> | + | * <code>[[Git: upstream]]</code> |
== See also == | == See also == |
Revision as of 09:13, 9 February 2023
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]
Related
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: