Skip to content

Instantly share code, notes, and snippets.

@shvechikov
Created March 24, 2014 14:30
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 shvechikov/9741193 to your computer and use it in GitHub Desktop.
Save shvechikov/9741193 to your computer and use it in GitHub Desktop.
[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