Skip to content

Instantly share code, notes, and snippets.

@ziginsider
Created June 21, 2022 14:11
Show Gist options
  • Save ziginsider/d724f407782bfd38619ac37154340f1c to your computer and use it in GitHub Desktop.
Save ziginsider/d724f407782bfd38619ac37154340f1c to your computer and use it in GitHub Desktop.
[alias]
amen = commit --amend
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
hi7 = log --all --pretty=format:\"%h %cd %s (%an)\" --since='7 days ago'
type = cat-file -t
dump = cat-file -p
ln = log --oneline
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment