Skip to content

Instantly share code, notes, and snippets.

@syuji-higa
Last active November 16, 2019 04:51
Show Gist options
  • Save syuji-higa/77785d42bd9dff74dd14eba7409d8524 to your computer and use it in GitHub Desktop.
Save syuji-higa/77785d42bd9dff74dd14eba7409d8524 to your computer and use it in GitHub Desktop.
Git - alias
[alias]
br = branch
co = checkout
st = status
cm = commit -m
di = diff
pl = pull origin
ps = push origin
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lga = log --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment