Question about Git and Dropbox. I set up Git and Dropbox using the various tutorials online. When I push up my project, I notice that the dropbox folder is very small (1mb vs about 4 on my local machine). I'm pretty sure that the actual files aren't being pushed up to dropbox. Is this normal?
Thanks!
As it was already pointed out, Dropbox isn't the safest solution to share your repo (see "Is this plain stupid: GIT Sharing Via DropBox?".
Greg Bacon remarked that Dropbox already retains old versions of files, which is a bit redundant with what Git already does.
See "this discussion" (which was about a full repo backup, not just a bare repo though):
I use dropbox with a
git bundle
: only one file to synchronize.Much less issues that way (but that also means that local setups like hooks aren't part of my bundle).
you might consider telling dropbox to ignore the .git directories in your repo. i use dropbox to keep copies of my files (in case i do something dumb with git and nuke my changes), but i don't need dropbox to keep a copy of the .git directories.
in dropbox prefs, under advanced there's a section called "selective sync" that allows you to disable syncing of specific folders.