Difference between revisions of "Git push --dry-run"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
To push the current branch and set the remote as upstream, use | To push the current branch and set the remote as upstream, use | ||
− | git push --set-upstream origin your-local-branch | + | [[git push --set-upstream]] origin your-local-branch |
Revision as of 09:14, 21 March 2023
git push --dry-run
fatal: The current branch your-local-branch has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin your-local-branch
See also
Advertising: