I'm about to start a project with new coworkers and we're trying to find the best way to set up our work environnements.
We're using Vagrant and Virtual Box to work on the same environnement and about git, we were wondering if it was best to install git inside the VM and push commits from here or simply use git on our local OS in the Vagrant shared folders.
What do you guys usually do when working on a team?
I pretty much always use Git outside of the virtual machine. That way, there is no important state within the VM, and I can throw it away and rebuild it, or revert to a snapshot, or something of the sort, without worrying about losing any unpushed state, stashes, uncommitted files, and the like.
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