Skip to content

Instantly share code, notes, and snippets.

@dodo
Last active September 25, 2015 01:58
Show Gist options
  • Save dodo/844693 to your computer and use it in GitHub Desktop.
Save dodo/844693 to your computer and use it in GitHub Desktop.
gitconfig
[user]
name = ▟ ▖▟ ▖
email = dodo.the.last@gmail.com
signingkey = 9E949439
[i18n]
commitencoding = UTF-8
[color]
ui = auto
[diff]
tool = kompare
[push]
default = simple
[core]
editor = vim
[pager]
log = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less
show = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less
diff = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less
[alias]
a = add -p
d = diff
s = status
ss = status -s
c = commit -m
co = checkout
dc = diff --cached
wd = diff --word-diff=color
re = remote -v
br = branch -va
com = commit -v
ff = merge --ff-only
worddiff = diff --word-diff=color
server = daemon --reuseaddr --base-path=. --export-all --verbose --enable=receive-pack
vommit = "!git commit -m\"`curl -s http://whatthecommit.com/|sed -n '/<p>.*$/s/<[^>]*>//gp'`\""
diffall = "!sh /usr/share/doc/git/contrib/diffall/git-diffall"
subtree = "!sh /usr/share/doc/git/contrib/subtree/git-subtree.sh"
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
unpack-refs = "!bash -c 'IFS=$''\\n''; for f in $(git show-ref --heads); do /bin/echo ''Writing '' $(echo $f | cut -c42-); echo $(echo $f | cut -c1-40) > \"${GIT_DIR:-.git}/$(echo $f | cut -c42-)\"; done'"
[svn]
rmdir = true
useSvmProps = true
[github]
user = dodo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment