Difference between revisions of "Has no upstream branch"
Jump to navigation
Jump to search
(Created page with "{{lc}} fatal: You are not currently on a branch {{git push}}") Tags: Mobile web edit, Mobile edit |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
+ | git push --set-upstream origin remotes/origin/XXXXXXXx | ||
+ | |||
+ | To have this happen automatically for branches without a tracking | ||
+ | upstream, see '[[push.autoSetupRemote]]' in 'git help config'. | ||
− | + | == Related == | |
+ | * <code>[[fatal: You are not currently on a branch]]</code> | ||
+ | == See also == | ||
+ | * {{git push}} | ||
− | + | [[Category:Git]] |
Latest revision as of 12:13, 27 March 2023
git push --set-upstream origin remotes/origin/XXXXXXXx To have this happen automatically for branches without a tracking upstream, see 'push.autoSetupRemote' in 'git help config'.
Related[edit]
See also[edit]
Advertising: