So recently I’ve started the process of getting some of my projects under version control. I’ve only been versioning my code and not my binary project assets. I noticed that Monodevelop has support for git in the editor which would be perfect for my workflow!
However I cannot for the life of me figure out how to get it setup correctly. All of my code lives in my dropbox. I am unclear as to how to point monodevelop at a local git repository as opposed to a remote one over ssh/http(s).
I put the entire Unity project under version control so it picks up changes to assets, too, not just Monodevelop code. I set this up quite a while ago. There are products on the asset store now to make version control easier. I haven’t looked at them.
My .gitattributes file is fairly long because I try to enumerate all the file types so git knows which ones to handle as text and which as binary.
My working project is in a local, non-Dropbox location. I’ve read about performance issues (compilation) with keeping your working project in a Dropbox location. My git repository is in Dropbox.
And I’ve tested the repository set up using the instructions in the link above, so I know it actually works. You’d be surprised how many people set up version control or backup systems and have never verified to make sure it actually works…