gitflow
gitflow copied to clipboard
.gitconfig / .gitflow in repo root
Hello,
is it possible to have a file like .gitconfig or .gitflow in the root of the repository with the default branch and prefix names. So when you call git flow init -d
they will be used?
Or is there another possibility to like create a batch file that will call the necessary steps to include the .gitconfig file to the .git/config file?
I can't seem to find any solution to make the gitflow defaults depend on the repository instead of global.
I recommend looking at https://github.com/petervanderdoes/gitflow-avh which is able to do what you ask.
Disclaimer: I'm the Project Owner of git-flow AVH Edition.
gitflow-avh is integrated in many other applications and Linux distributions.
Maybe I'm missing something, but I don't see how that works in AVH. I can see the gitflow items in .git/config, but when I clone the repository, they are not present in the clone.