-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Not a gitflow-enabled repo yet. Please run 'git flow init' first." error message on newly git flow init'ed repo. #1720
Comments
I'd recommend reporting this to the |
Thanks Brendan. Have reposted the issue at: petervanderdoes/gitflow-avh#372 |
It was my understanding that not only the original git-flow project, but also the -avh fork were abandoned by their maintainers. If your shell-scripting fu is up to par, maybe you want ho debug this further? If you come up with a patch, I am willing to work around the absence of git-flow maintenance by taking out-of-band contributions (I would start a fork of git-flow-avh in the git-for-windows org to that end). If it was me, I would start by editing |
Thanks Johannes. I was able to debug using the
My limited tests seem to work - git flow feature start test succeeded after that change, and returned an error after I removed the "gitflow.prefix" lines from my .git/config file (expected behaviour). If you fork the branch, I'll submit a pull request ... or you can apply the above change after you fork. |
Pull request here: petervanderdoes/gitflow-avh#374 |
Wait, I don't understand. $ git config --get-regexp gitflow.prefix
$ echo $?
1 So I am missing gitflow.prefix, and the Ah. I think I know what it is. Does it work if you remove the gitflow_is_initialized() {
gitflow_has_master_configured && \
gitflow_has_develop_configured && \
[ "$(git config --get gitflow.branch.master)" != "$(git config --get gitflow.branch.develop)" ] && \
git config --get-regexp gitflow.prefix >/dev/null 2>&1
} ? |
Thanks Johannes. Looks like that works. With the |
Setup
64 bit
defaults?
to the issue you're seeing?
No
Details
Bash, on MINGW64
Minimal, Complete, and Verifiable example
this will help us understand the issue.
What did you expect to occur after running these commands?
After running git flow init, I expected git flow feature start to create a feature branch
What actually happened instead?
I got this error message:
Fatal: Not a gitflow-enabled repo yet. Please run 'git flow init' first.
If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
Seems to occur on any git repository I have cloned, including
git clone --recursive git://github.com/petervanderdoes/gitflow.git
The text was updated successfully, but these errors were encountered: