snippetbashTip
git create-branch — Create a Git branch in a repository. Part of `git-extras`. More information: <https://manned.org/git
Viewed 0 times
createcommandgit create-branchbranchclipartrepositorygit
Problem
How to use the
git create-branch command: Create a Git branch in a repository. Part of git-extras. More information: <https://manned.org/git-create-branch>.Solution
git create-branch — Create a Git branch in a repository. Part of git-extras. More information: <https://manned.org/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}}Code Snippets
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}}Context
tldr-pages: common/git create-branch
Revisions (0)
No revisions yet.