Skip to content

Instantly share code, notes, and snippets.

@edwardabraham
Last active December 20, 2015 13:08
Show Gist options
  • Save edwardabraham/6135966 to your computer and use it in GitHub Desktop.
Save edwardabraham/6135966 to your computer and use it in GitHub Desktop.
I sometimes need to work out when I worked on a project. This is a one-liner bash script that gives me a list of all my commits on a project that I can use to reconstruct my time-sheets.
#!/bin/sh
git log --date='short' --format='%ad %an %s' | grep $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment