Skip to content

Instantly share code, notes, and snippets.

@exallium
Created August 23, 2019 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exallium/d987e78fe5719a23d83e9a4166bbe06a to your computer and use it in GitHub Desktop.
Save exallium/d987e78fe5719a23d83e9a4166bbe06a to your computer and use it in GitHub Desktop.
git aliases
bd = branch --delete
bm = branch --merged
cbr = rev-parse --abbrev-ref HEAD
cm = commit -m
co = checkout
cob = checkout -b
comit = commit
g = grep --break --heading --line-number
lol = log --pretty=oneline --abbrev-commit --graph --decorate
ship = push
t = log --tags --simplify-by-decoration --pretty="format:%C(yellow)%ai%C(reset) %C(green)%d%C(reset)"
vlol = log --graph --decorate --pretty='%C(yellow)% h%Creset% s%Cgreen% cr%Cred% cN%Creset% d' --abbrev-commit --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment