Git push

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Internal

Overview

git push [repository-name] [refspec]
git push origin <branch-name>

Options

-n|--dry-run

Use Cases

Push a Branch as "Another" Branch on the Remote Repository

git push origin <source-branch>:<target-branch>