Skip to content

Instantly share code, notes, and snippets.

@aokj4ck
Created September 14, 2011 18:05
Show Gist options
  • Save aokj4ck/1217278 to your computer and use it in GitHub Desktop.
Save aokj4ck/1217278 to your computer and use it in GitHub Desktop.
Yesterday's Git Activity (yga) gives you a text file `status.txt` with `git status` and yesterday's commit log.
#cd /Path/To/Repo
rm status.txt
touch status.txt
git status >> status.txt
echo '' >> status.txt
git log --since='08:00 yesterday' --until='20:00 yesterday' >> status.txt
open status.txt -e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment