nvie / gitflow

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.
http://nvie.com/posts/a-successful-git-branching-model/
Other
26.6k stars 2.66k forks source link

Introduce auto resolution support for current feature/release/hotfix #6419

Open bhagyas opened 6 years ago

bhagyas commented 6 years ago

Suggestion to introduce dynamic current branch detection.

Instead of using git flow feature finish my-feature-1 when you are already in feature/my-feature-1 I suggest introducing a new keyword to automatically detect and publish/finish it. An example syntax would be to use git flow current feature finish.

current would be an alias for the current working feature/release/hotfix as detected through parsing the branch name.

Examples: