Last active
January 23, 2016 01:52
-
-
Save edwinestrada/0adaaa695ab22cb7e845 to your computer and use it in GitHub Desktop.
Edwin's .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
[core] | |
excludesfile = /Users/edwin/.gitignore_global | |
editor = vim | |
[alias] | |
d = diff | |
ha = log --all --format='%Cgreen%h%Creset %ad %C(cyan)%an%Creset - %s%C(red)%d%Creset' --graph --date=short | |
hs = log --all --format='%s%C(red)%d%Creset' --graph --date=short | |
rmrepair = status --porcelain | awk '/^.D .*$/ {print $2}' | xargs git rm | |
last = log --name-status HEAD^..HEAD | |
a = add . | |
ap = add -p | |
cv = commit --verbose | |
cm = commit -m | |
s = status | |
co = checkout | |
cob = checkout -b | |
[user] | |
name = Edwin Estrada | |
email = [email protected] | |
[push] | |
default = matching | |
[difftool "sourcetree"] | |
cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
path = | |
[mergetool "sourcetree"] | |
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" | |
trustExitCode = true | |
[core] | |
excludesfile = /Users/edwin/.gitignore_global | |
editor = vim | |
[alias] | |
h = log --format='%Cgreen%h%Creset %ad %C(cyan)%an%Creset - %s%C(red)%d%Creset' --graph --date=short | |
ha = log --all --format='%Cgreen%h%Creset %ad %C(cyan)%an%Creset - %s%C(red)%d%Creset' --graph --date=short | |
has = log --all --format='%s%C(red)%d%Creset' --graph --date=short | |
rmrepair = status --porcelain | awk '/^.D .*$/ {print $2}' | xargs git rm | |
last = log --name-status HEAD^..HEAD | |
a = add . | |
cm = commit -m | |
s = status | |
[user] | |
name = Edwin Estrada | |
email = [email protected] | |
[push] | |
default = matching | |
[difftool "sourcetree"] | |
cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
path = | |
[mergetool "sourcetree"] | |
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" | |
trustExitCode = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment