Using Git to improve workflow
I’m looking into ways to improve workflow for multiple developers on a webserver. Git is currently the most promising method at the moment to help track changes to files etc. but I have a few questions.
Firstly I am currently running an Ubuntu droplet with Apache 2 installed and I’m not sure what would be better; either renting a second droplet and setting up a private git server on that or just storing all our files on GitHub. I get that using GitHub would be cheaper but I’d prefer to not have all of my work out on the public domain.
Secondly if I went down the road of using git how would I be able to only allow users access to edit certain files at a time rather than have access to edit every file in the repository.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×