Skip to content

Instantly share code, notes, and snippets.

@unhammer
Created March 28, 2013 14:15
Show Gist options
  • Save unhammer/5263434 to your computer and use it in GitHub Desktop.
Save unhammer/5263434 to your computer and use it in GitHub Desktop.
encrypted svn passwords without "wallets"
# stuff
[alias]
svndcommit = !sh -c 'svnauth && git svn dcommit'
svnrebase = !sh -c 'svnauth && git svn rebase'
#!/bin/sh
! test -d $HOME/.subversion/auth.encrypted ||
test -d $(readlink -f $HOME/.subversion/auth) ||
encfs --idle=30 $HOME/.subversion/auth.encrypted $HOME/.subversion/auth.decrypted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment