Skip to content

Instantly share code, notes, and snippets.

@edwardabraham edwardabraham/git-time-log
Last active Dec 20, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.