Created
February 26, 2015 07:10
-
-
Save alvarogarcia7/922699ca34fed9d30052 to your computer and use it in GitHub Desktop.
my git CLI settings as of 20150226-0807
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
# [...] | |
# only the part part of it that relates to git | |
alias g=git | |
# [...] |
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/alvaro/.gitignore_global | |
[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 | |
[user] | |
name = $MY_NAME | |
email = $EMAIL_1 | |
email = $EMAIL_2 | |
[alias] | |
c = commit -m | |
cc = commit --all -m | |
#mostly used for TDD, green phase | |
cg = commit -m "green" | |
#mostly used for TDD, green phase | |
ccg = commit --all -m "green" | |
cam = commit --amend -m | |
s = status | |
aa = add --all | |
a = add | |
g = log --pretty --graph --oneline | |
l = log -n1 | |
d = diff | |
dl = diff HEAD^1 | |
#problem: adds two times the parameter | |
# i = !echo "$@" >> .gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment