Skip to content

Instantly share code, notes, and snippets.

@bjartek
Created February 20, 2010 12:06
Show Gist options
  • Save bjartek/309655 to your computer and use it in GitHub Desktop.
Save bjartek/309655 to your computer and use it in GitHub Desktop.
#!/bin/bash
#just a quick script to alias svn pull to svn up and redirect everything else to svn command.
#alias svn=s in your .bashrc or something
if [ $# -eq 1 ] && [ $1 == "pull" ]; then
eval "svn up";
exit 0;
fi
eval "svn $*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment