Git push

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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>