-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Ernesto Buenrostro edited this page May 8, 2016
·
2 revisions
Cherry pick
Checkout a branch
Create and checkout the branch
Create and checkout a new branch without a parent
Get information of the current branches
This alias lets you create a new branch giving a name with white spaces and it will change them into _
.
- Name for the branch to create.
- Optional name of the branch to fork from, if not parent branch name provided it will fork the new branch from the current branch.
git nbs <branch name> [<parent branch>]
Example:
git nbs "292-Create new function nbs"
It will create the new branch based on the current one with a name like:
"292-Create_new_function_nbs"
Or you can create a new branch based on a different one
Example:
git nbs "292-Create new function nbs" master