Git push

From NovaOrdis Knowledge Base
Revision as of 16:55, 10 July 2021 by Ovidiu (talk | contribs) (→‎Options)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>