I joined a project and they kinda have a chaos for code testing and version control solution, so I am in charge of implementing those and more.
Me, being relatively new to Git, I was wondering how should I implement the http://nvie.com/posts/a-successful-git-branching-model/ ? And by that I mean:
git flow init on the LAMP server (where all the testing and version control will be held)?feature_x / hotfix_y / releas_z branch in the remote repository?git flow init setup, on my local cloned repository?I have a basic knowledge of git, so I would appreciate your guidance on this.
If you know a better solution on how to use a control version system and be able to sync from local to live and/or testing environment, please let me know... I'm willing to learn
git-flow is not something you ordinarily run on your remote server, and is merely a tool to aide managing branches. You would only run git flow init on not-bare checkouts where someone is going to be doing development work. So, in order:
git push (or, the first time only with: git push --set-upstream origin feature/name-of-current-feature - this is also in the error message in the current version of git trying to push on a branch not tracking anything)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