Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Hard Reset SVN working-copy back to checkout (records a diff first).
- alias svn.HardReset='read -p "destroy ALL local changes?[y/N]" && [[ $REPLY =~ ^[yY] ]] && svn diff &> $(mktemp | tee -a "${HOME}/.svnReset.log") && svn revert -R . && rm -rf $(awk -f <(echo "/^?/{print $2}") <(svn status );)'
Add Comment
Please, Sign In to add comment