I know that there are similar questions - this is one of my most similar: Effectively use Git and Dropbox?
My question is: I started using Git to save versions of my school information. Suppose I have a GradSchool folder where I save my resume.doc and SoP.doc. This folder is in my Dropbox folder as I use dropbox for backup. Dropbox has a “version”, but it’s not so great, so I want to better track versions of it. So
~: cd ~/Dropbox/GradSchool/ ~/Dropbox/GradSchool/: git init ~/Dropbox/GradSchool/: git add . ~/Dropbox/GradSchool/: git commit -a
But now that means that I have a .git folder that is "pushed" into my Dropbox every time it changes, along with the documents in the folder. If I changed branches on my machine, will it now remove the package to synchronize this version with its servers and my other machines?
Is this the wrong way to do this? The other SO question linked above had a different workflow, but it also did not save the project files in the Dropbox folder for backup. He also mentioned the creation of a “bare” repo for pushing. What is a bare repo? (in a simple way because I'm new to this). Any help on how I should change my workflow would be great!
Thanks!
source share