Created by
Craig Phillips
last modified
| [user]
name = [INSERT YOUR NAME HERE]
email = [INSERT YOUR EMAIL ADDRESS HERE]
[core]
autocrlf = true
excludesfile = D:\\Documents\\gitignore_global.txt
;excludesfile = "D:/Documents/gitignore_global.txt"
;editor = 'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -nosession
editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -nosession
preloadindex = true
fscache = true
longpaths = true
[diff]
tool = bc4
[difftool "bc4"]
cmd = \"c:/Program Files/Beyond Compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" -lro -lefttitle='remote' -righttitle='local' -solo -expandall
[difftool]
prompt = false
[merge]
tool = bc4
[mergetool "bc4"]
cmd = \"c:/Program Files/Beyond Compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\" -ro -lefttitle='local' -centertitle='base' -righttitle='other' -automerge -reviewconflicts -solo
trustExitCode = true
[alias]
st = status
br = branch
dt = difftool --dir-diff
vd = difftool --dir-diff
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an <%ae>%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an <%ae>%C(reset)' --all
lg = !"git lg1"
maint = fetch -p
nm = "!f() { git branch --no-merged $1; }; f"
m = "!f() { git branch --merged $1; }; f"
whoami = var GIT_COMMITTER_IDENT
all = "!f() { ls | xargs -I{} git -C {} $1; }; f"
inc = log ..@{u}
out = log @{u}..
gc-all = "!f() { git reflog expire --expire-unreachable=now --all; git gc --prune=now; }; f"
aliases = config --get-regexp alias
[mergetool]
keepBackup = false
prompt = false
[difftool "sourcetree"]
cmd = 'C:/Program Files/Beyond Compare 4/BComp.exe' \"$LOCAL\" \"$REMOTE\"
[mergetool "sourcetree"]
cmd = 'C:/Program Files/Beyond Compare 4/BComp.exe' \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
trustExitCode = true
[push]
default = simple
[gc]
auto = 256
[gpg]
program = C:\\Utils\\GnuPG\\bin\\gpg.exe
|