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-feat
It 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
develop as start-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
Currently,
git featurecreates a new branch based on the current active one.As
git flowspecifies that feature branches should be based ondevelop, it would be nice to be able to specify astart-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:
It would be awesome if we could simplify those 3 lines to a single command:
# git feature <branchname> [<start-point>] git feature my-feat developRegardless of my active branch,
git feature my-feat developwould:origindevelopasstart-point,Does
git-extrashave global options? It would be awesome to be able to set the defaultstart-pointtrough a global option