Difference between revisions of "Git push --dry-run"
Jump to navigation
Jump to search
(Created page with "{{lc}} git push --dry-run * {{git push}}") |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | <code>[[git push]] --dry-run</code> | ||
+ | |||
+ | |||
+ | |||
+ | 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 | ||
+ | |||
+ | |||
[[git push]] --dry-run | [[git push]] --dry-run | ||
+ | Everything up-to-date | ||
+ | == See also == | ||
+ | * {{git push}} | ||
− | + | [[Category:Git]] |
Latest revision as of 09:15, 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
git push --dry-run Everything up-to-date
See also[edit]
Advertising: