Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[alias]
st = status
ci = commit
ca = commit --amend
co = checkout
br = branch
d = diff
dc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
g = log --graph --decorate --pretty=oneline --abbrev-commit --branches=* --all
gg = log --graph --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset - %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative --all
ggg = log --pretty=format:'%C(yellow)%h%Creset - %Cblue%an%Creset - %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
mg = log --graph --decorate --oneline --relative-date
[user]
name = Leonid Shvechikov
email = shvechikov@gmail.com
[color]
ui = auto
branch = auto
diff = auto
interactive = auto
status = auto
[core]
excludesfile = /Users/shvechikov/.gitignore_global
editor = vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment