mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
432 B
432 B
git create-branch
Create a Git branch in a repository. Part of
git-extras
. More information: https://manned.org/man/git-create-branch.
- Create a local branch:
git create-branch {{branch_name}}
- Create a branch locally and on origin:
git create-branch {{[-r|--remote]}} {{branch_name}}
- Create a branch locally and on upstream (through forks):
git create-branch {{[-r|--remote]}} upstream {{branch_name}}