- Create a location for your backup repo:
ssh safehost; mkdir backupdir; cd backupdir; git init
- Back on your own machine, add a section to
.git/configthat sets up an alias for pushing:
[remote "backup"] url = safehost:backupdir push = +refs/heads/*:refs/heads/*The last line says that any branches on your local machine become branches on the remote machine.
- Now you have a "backup" alias, so any time you want to snapshot your branches, just run
git push backup.
Suppose you're in Germany and want to watch some Flash-based videos that are IP-limited to the US for whatever reason. At first you'd think you could…
The emacs-configured browser is used for operations like previewing your markdown buffer ( markdown-preview; C-c C-c p in markdown-mode). I still…
I managed to accidentally dd 600mb over my primary disk; I haven't done that in many years. Adam thankfully pointed out that my data should be…