Created
March 30, 2014 05:27
-
-
Save berngp/9868043 to your computer and use it in GitHub Desktop.
dot.gitconfig
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
[user] | |
name = Your Name | |
email = [email protected] | |
[color] | |
ui = true | |
[core] | |
excludesfile = ~/.gitignore_global | |
editor = /usr/local/bin/mvim -f | |
[mergetool "p4merge"] | |
cmd = p4merge "$BASE" "$LOCAL" "$REMOTE" "$MERGED" | |
keepTemporaries = false | |
trustExitCode = false | |
keepBackup = false | |
[diff] | |
tool = opendiff | |
#external = p4diff | |
#external = meldDiff | |
[github.com] | |
user = github-username | |
token = your-token | |
[java.net] | |
user = username | |
[color] | |
diff = auto | |
branch = auto | |
status = auto | |
[http] | |
sslVerify = false | |
[alias] | |
st = status | |
d = diff --color-words | |
dw = diff --word-diff | |
ci = commit -v | |
cia = commit -v -a | |
ca = commit -a -m | |
co = checkout -b | |
cp = cherry-pick | |
l = log | |
ll = log -p | |
lod = log --oneline --decorate | |
lgraph = log --oneline --decorate --graph | |
b = branch | |
pom = push origin master | |
pullit = pull --rebase | |
ads = submodule add | |
rem = remote add origin | |
headless = !sh -c 'git symbolic-ref HEAD refs/heads/$0 && rm .git/index && git clean -fdx' | |
unstash = stash branch | |
[git-tmbundle] | |
gitx-path = /Applications/GitX.app | |
[push] | |
default = simple | |
[commit] | |
template = /Users/youuser/.gitmessage.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment