Skip to content

Instantly share code, notes, and snippets.

@minhlucvan
Created December 2, 2019 03:43
Show Gist options
  • Save minhlucvan/0d7ba734e6569da183bd30f05f6dc5e7 to your computer and use it in GitHub Desktop.
Save minhlucvan/0d7ba734e6569da183bd30f05f6dc5e7 to your computer and use it in GitHub Desktop.
git log --reverse --date=short --pretty=format:"%ad - %s%d" --date=short --date-order --author="$(git config user.name)" --branches --since="last month"
@minhlucvan
Copy link
Author

this is shell command to extract your git history to log the timesheet

Happy logging <3

@minhlucvan
Copy link
Author

minhlucvan commented Dec 2, 2019

please open git bash or power shell if you are using windows :)

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