Currently, each user has to configure Git-flow first after having cloned the repository. How to store this branch naming configuration in a committable file (to be stored in the repository), so after having cloned the repository, it can be used with Git-flow out of the box?
The GitHub flow branching strategy is a relatively simple workflow that allows smaller teams, or web applications/products that don't require supporting multiple versions, to expedite their work. In GitHub flow, the main branch contains your production-ready code.
git-flow stores its configuration using git config
which writes to the .git/config
file in each repository. This file is not versioned as it represents that individual user's preferences.
You could write a script that calls the appropriate git config
commands and then version that (expecting each user to run the script once). Check your own .git/config
file for what settings you would need to set.
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