Last active
December 9, 2015 21:18
-
-
Save beny/4329499 to your computer and use it in GitHub Desktop.
Git config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
excludesfile = ~/.gitignore | |
quotepath = false | |
[diff] | |
external = ~/.opendiff-git.sh | |
[merge] | |
tool = opendiff | |
[user] | |
name = Ondrej Benes | |
email = <my-email> | |
[hooks] | |
allowdeletebranch = true | |
allowdeletetags = true | |
[alias] | |
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f" | |
lg = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative" | |
ls = "log --abbrev-commit --pretty=oneline" | |
ch = "checkout" | |
sl = "stash list" | |
sa = !sh -c \"git stash apply stash@{$1}\" - | |
sd = !sh -c \"git stash drop stash@{$1}\" - | |
sp = !sh -c \"git stash pop stash@{$1}\" - | |
ss = !sh -c \"git stash show -p stash@{$1}\" - | |
cc = "git fetch --prune --all" | |
[credential] | |
helper = osxkeychain | |
[color] | |
ui = true | |
[color "status"] | |
branch = yellow | |
added = magenta | |
untracked = green | |
[push] | |
default = simple | |
[git-tmbundle] | |
gitx-path = /usr/local/bin/gitx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment