Skip to content

Instantly share code, notes, and snippets.

@nejdetckenobi
Last active March 8, 2018 18:02
Show Gist options
  • Save nejdetckenobi/8a33896665f48522d976039041beb2ab to your computer and use it in GitHub Desktop.
Save nejdetckenobi/8a33896665f48522d976039041beb2ab to your computer and use it in GitHub Desktop.
"What did I do today" command for git.
You can use "git today" alias for listing your work
git config --global alias.today "log --since=midnight --author='$(git config user.name)' --oneline"
Be sure your username is set first!
git config --global user.name "your_beautiful_username"
@stefan-girlich
Copy link

Consider adding --all to your alias in line 3. Otherwise, only changes from your current branch will be reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment