-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Currently, git feature creates a new branch based on the current active one.
As git flow specifies that feature branches should be based on develop, it would be nice to be able to specify a start-point, so we don't need to switch branches first.
After finishing a feature, I currently need to run 3 commands to create my new feature branch:
git checkout develop
git pull
git feature my-featIt would be awesome if we could simplify those 3 lines to a single command:
# git feature <branchname> [<start-point>]
git feature my-feat develop Regardless of my active branch, git feature my-feat develop would:
- pull/fetch the commits from
origin - create a new branch with
developasstart-point, - check out the new feature branch.
Does git-extras have global options? It would be awesome to be able to set the default start-point trough a global option