Skip to content

Instantly share code, notes, and snippets.

@regnerjr
Created June 3, 2014 14:33
Show Gist options
  • Save regnerjr/ef057408bc693ff3e150 to your computer and use it in GitHub Desktop.
Save regnerjr/ef057408bc693ff3e150 to your computer and use it in GitHub Desktop.
A shell function for retrieving the svn log for a given human readable time frame, i.e. 2 weeks ago, 1 hour ago. Great for when you get back from lunch and want to see what your co-workers have been upto.
s () {
svn log -r {$(date --date="$*" +%FT%T)}:HEAD -v -g
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment