Why is git flow function check deprecated? What should I use instead?
I run git
version 2.3.6
and git flow
version 1.8.0
, and when I run commands like this git flow feature checkout <branch>
, I get the message:
The command 'git flow feature checkout/co' will be deprecated per version 2.0.0
Does anyone know why this would be deprecated and / or what I should be using instead?
source to share
Depending on the version number given in your question (1.8.0), you link to https://github.com/petervanderdoes/gitflow (as opposed to https://github.com/nvie/gitflow , the latest release of which is on the moment of writing this answer is 0.4.1). After cloning this repo and checking its log by running
git log --grep=feature --grep=deprecated --all-match
I found one relevant commit that doesn't motivate erasure git flow feature checkout
.
However, issue # 128 in the GitHub repo issue tracking log contains a discussion about planned deprecation git flow feature checkout
. Here is the relevant portion of the maintainer's comment:
My thoughts
Checkout
- With bash / zsh termination, this command seems irrelevant, but if you don't use termination it can be useful.
- I propose to drop this command in a future version and add a warning for v1.8.0 that the command will be removed in a future version (2.0?)
source to share