Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
Created August 24, 2023 17:50
Show Gist options
  • Save peteristhegreat/7a1e5f6ac8743a06dfb80db225e8b0c8 to your computer and use it in GitHub Desktop.
Save peteristhegreat/7a1e5f6ac8743a06dfb80db225e8b0c8 to your computer and use it in GitHub Desktop.
Git Log alias, pretty format git log

alias.l log --pretty=oneline -n 20 --graph --abbrev-commit

https://stackoverflow.com/questions/42182555/git-log-pretty-format

$ git l
*   e85261b (HEAD -> compact-health-ins, origin/compact-health-ins) Merge branch 'firebase-api' into compact-health-ins
|\
| * 8c635c9 (origin/firebase-api, firebase-api) Remove spaces on employee names during big erc calculation.
| * 908f3fc Upload new 941x pdf rev-4-2023.
| * 018376b Round to penny for q1_qualfied_wages
* | fa09f59 Add subtotal rows.
* | 53fa735 Fix issue with seen. Show total nicely.
* | 72eafef Support new health ins format type on calulation runs Add fuzzywuzzy for new format type
* | 974082b Fix remaining issues for validating compact health insurance.
* | 3cd158d Second pass on compact health insurance
* | 4a7e558 First pass on supporting compact health insurance.
|/
* 225690e Move signature to its own dictionary
* f6c8d42 Add blank slashes for signature date back in

If you don't have it, then install with something like:

git aliases l "log --pretty=oneline -n 20 --graph --abbrev-commit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment