Skip to content

Instantly share code, notes, and snippets.

@kowal
Forked from oli/gist:1637874
Last active December 11, 2015 10:48
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 kowal/4588821 to your computer and use it in GitHub Desktop.
Save kowal/4588821 to your computer and use it in GitHub Desktop.
Git Config File
[core]
legacyheaders = false # >git 1.5
quotepath = false
pager = less -r
[color]
ui = auto
interactive = auto
[alias]
s = status
br = branch
a = !git add . && git status
au = !git add -u . && git status
aa = !git add . && git add -u . && git status
c = commit
cm = commit -m
co = checkout
l = log --graph --all --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
ll = log --stat --abbrev-commit
d = diff --color-words
dh = diff --color-words head
master = checkout master
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort
[user]
name =
email =
[github]
user =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment