2
This question should probably be posted at superuser.com, but I guess we've got some more git experts here..
What I'd like to do is to use git as a backup tool, but WITHOUT having a local .git directory with all it's contents on the working machine.
I could do it by symlinking the .git directory to the backup disk, but maybe there's a better way? Also, I'd like to use ssh instead of mounting an USB disk, so the backup disk could be somewhere else.
The reason for this, if anybody wonders, is that I want to backup my music collection from a laptop with a limited drive. Having all the files twice within the .git directory seems a bit overkill.
1bad idea, imo. git is not for that. – Rook – 2009-12-31T15:00:19.710
1if you really need to be sure the files copied are the ones, then just take some tool and calculate the hashes with it. – Rook – 2009-12-31T15:00:51.487