git-extras
git-extras copied to clipboard
`git feature` not re-opening the branch on subsequent calls?
The readme seems to indicate that subsequent calls to git feature XYZ should check that branch out. It doesn't appear to be working for me... am I doing something wrong?
$
brandon at MacMini in ~/code/myapp on master
$ git feature myfeature
brandon at MacMini in ~/code/myapp on feature/myfeature
$ git checkout master
Switched to branch 'master'
brandon at MacMini in ~/code/myapp on master
$ git feature myfeature
brandon at MacMini in ~/code/myapp on master
$
I was expecting to be on branch feature/myfeature at the end there, but am on master.
I was wondering too, It seems like it was it was removed in a79c51c by @jgallen23. I am not sure about the reason for removal, but we need to choose between:
- reverting a79c51c
- editing README to prevent confusion
I am in favor of reverting.
EDIT: also duplicate of #180
This is a duplicate of #180, which was closed with #263, but I'm commenting here again as it was re-broken with #441...
In version 6.3.0 the readme doesn't say anything about git feature.
The current behavior writes an error message stating that the branch already exists. IMHO that is a good thing. I'd expect to have a brand new branch after calling git feature and that error message would help me not create a mess.