[ubuntu-za] Sync folders using git
Keegan Carruthers-Smith
keegan.csmith at gmail.com
Fri Feb 25 03:09:49 UTC 2011
2011/2/24 Daniël Louw <daniel at dline.co.za>:
> My question is, how can I use git to sync two folders on one machine, as in
> sync my documents folder to the documents folder on my thumb drive?
If you want to sync on your flash drive this should work:
$ cd /media/flash/gitrepo
$ git pull /path/to/repo/on/machine master
But I second Tim's suggestion of using Dropbox. It is pretty much
exactly what you want.
Cheers,
Keegan
More information about the ubuntu-za
mailing list