Wondering if some light could be shed on how git workflows should work? I'm 100% sure our current method is completely wrong as its not really working out. If I can explain how we are currently operating and if someone can tell me where we're going wrong, that would be awesome.
We have 2 developers working to a Dev branch, and testing on a Dev server (which requires us to ftp the files we're working on up to the server). Once changes are tested and completed, we then replicate the change on a production branch, which is the ftp'd upto the live server. This means we have to keep track of every single change we make. Thankfully Git is awesome at giving us that information but we don't really know what files we have already put on the servers etc. Dev is currently used to fix bugs etc for production/live, but it will soon be used for new features. Both branches are different as the specific to their own servers.
We were relatively new to git at the beginning of our development, but feel like we've taken a massive step back when going into production.
Summarise:
- 2 developers
- 2 branches (Dev / Prod)
- both Dev using sourcetree as a client and GitHub as a remote repo
- both branches need to run in tandem and be easily pushed / updated to respective servers
Can anyone help me out?