Options (1)
-r, --remotebooleanCreate a branch locally and on origin
Example:
git create-branch {{[-r|--remote]}} {{branch_name}}Examples (3)
Create a local branch
git create-branch branch_nameCreate a branch locally and on origin
git create-branch [-r|--remote] branch_nameCreate a branch locally and on upstream (through forks)
git create-branch [-r|--remote] upstream branch_namemade by @shridhargupta | data from tldr-pages