Monthly Archives: September 2013

Helpful gitconfig for a windows coder

Found at: C:\Program Files\Git\etc

[alias]

br = branch
st = status
c = commit -m
aa = add -A
fa = fetch –all
co = checkout
pu = clean -dfx
cu = !git fetch –all && git pull –rebase origin && git submodule update
new = checkout -b
done = !git fetch && git rebase origin/master && git checkout master && git merge @{-1} && rake && git push
[core]
editor = \”C:/Program Files (x86)/Notepad++/notepad++.exe\”
autocrlf = false
[log]
date = relative
[color]
diff = auto
status = auto
branch = auto
interactive = true
[pack]
packSizeLimit = 2g
[help]
format = html
[http]
sslCAinfo = /bin/curl-ca-bundle.crt
[sendemail]
smtpserver = /bin/msmtp.exe

[merge]
tool = bc3
[mergetool “bc3″]
cmd = \”c:/program files (x86)/beyond compare 3/bcomp.exe\” \”$LOCAL\” \”$REMOTE\” \”$BASE\” \”$MERGED\”
trustExitCode = true
[difftool “bc3″]
cmd = \”c:/program files (x86)/beyond compare 3/bcomp.exe\” \”$LOCAL\” \”$REMOTE\”
[rebase]
autosquash = true