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

Git flow release start with hash code fails #6444

Open mamejimenez opened 5 years ago

mamejimenez commented 5 years ago

The following may be a Git Flow issue or a Git for Windows issue. In addition to this ticket I also opened the following:

https://github.com/git-for-windows/git/issues/2176

With the following environment:

Git for Windows:

_git version 2.21.0.windows.1 cpu: x86_64 built from commit: 2481c4cbe949856f270a3ee80c802f5dd89381aa sizeof-long: 4 sizeof-sizet: 8

Windows Version:

$ cmd.exe /c ver Microsoft Windows [Version 6.1.7601]

I have the following issue

$ git flow release start v12.12.12.0 8c165e101d7b2d8f8e7bd6f73edc9a56c3e9c4cf
Fatal: Base '8c165e101d7b2d8f8e7bd6f73edc9a56c3e9c4cf' needs to be a branch. It does not exist and is required.

Notes

This does not happen when using Git for Windows version 2.13.1.windows.2 or git for *nix 2.17.

The same issue happens when using SourceTool 3.1.2 (embedded or system).

The work around is to use the following raw command:

git checkout -b release/12.12.12.0 8c165e101d7b2d8f8e7bd6f73edc9a56c3e9c4cf

dscho commented 5 years ago

Please note that @nvie did not have the decency to mark this project as dead. That's why hundreds of contributors waste their time to find out that it is.

Head over to https://github.com/petervanderdoes/gitflow-avh/ if you are looking for the Git Flow that is bundled in Git for Windows.

mamejimenez commented 5 years ago

Thanks @dscho .

I opened the following:

petervanderdoes/gitflow-avh#413

Regards