I am very new to Git and am starting to learn the command line version. I believe my git flow is not installed correctly. I am running this from a pc.
When i run following command:
git flow feature start JamesTest
I get the following error:
git: 'flow' is not a git command. See 'git --help'
Did you mean any of these?
Looks like the git flow command is not being recognized from all paths? How do I fix this?
git: 'remote-https' is not a git command. See 'git --help'.
Git-flow is a wrapper around Git. The git flow init command is an extension of the default git init command and doesn't change anything in your repository other than creating branches for you.
Git Flow is usually more complicated than GitHub flow. It is used when your software has the concept of “release”. This flow works perfectly when you work in a team of one or more developers and they collaborate on the same feature.
A separate merge of the Gitflow release branch into the develop branch is also required. This ensures that any fixes made to the release after the initial branching make it back into development. The Gitflow release branch is made from the develop branch and gets merged into both master and develop when finished.
The git flow is not installed in your machine. Just run this command,
macOS:
$ brew install git-flow-avh
Linux:
$ apt-get install git-flow
Windows:
$ wget -q -O - --no-check-certificate https://raw.github.com/petervanderdoes/gitflow-avh/develop/contrib/gitflow-installer.sh install stable | bash
Source git-flow cheatsheet by Daniel Kummer
After successful installation run git flow init
in your project and then follow the instructions to configure the git flow.
Git is installed but Gitflow is not. Gitflow is a Git extension and has to be installed separately.
Install it as described on GitHub and you should be fine ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With