gitflow icon indicating copy to clipboard operation
gitflow copied to clipboard

Git flow release start with hash code fails

Open mamejimenez opened this issue 5 years ago • 2 comments

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-size_t: 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

mamejimenez avatar May 02 '19 14:05 mamejimenez

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.

dscho avatar May 09 '19 14:05 dscho

Thanks @dscho .

I opened the following:

petervanderdoes/gitflow-avh#413

Regards

mamejimenez avatar May 09 '19 17:05 mamejimenez