- Run
git config -e --global
- Paste this into the file:
[alias]
superlog = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blu$ supertimelog = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset$ co = checkout
br = branch
ci = commit
st = status
psuh = push
spuh = push
upsh = push
sphu = push
unstash = stash pop
rekt = reset --hard
dun = "!f() { git add .; git commit -m \"$@\"; git push; }; f"
git superlog
gives you a nice human-readable log with branch paths. Great for viewing or printing.
git supertimelog
includes timestamps with the superlog.