nvie / gitflow

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.

Home Page:http://nvie.com/posts/a-successful-git-branching-model/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git flow release start with hash code fails

mamejimenez opened this issue · 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:

git-for-windows/git#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

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.

Thanks @dscho .

I opened the following:

petervanderdoes/gitflow-avh#413

Regards