Skip to content

Instantly share code, notes, and snippets.

@madansr
Forked from NickJosevski/git.config
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madansr/2edde94d316516e3baee to your computer and use it in GitHub Desktop.
Save madansr/2edde94d316516e3baee to your computer and use it in GitHub Desktop.
[gui]
[gui]
[user]
name = Saurabh.Madan
email = myemail@myemail.com
[gui]
recentrepo = C:/
[alias]
st = status
unstaged = ls-files --others --exclude-standard
pom = push origin master
showignored = status --ignored
cleanup = clean -df
log1-short = log --pretty=format:\"%h %ad | %s%d -- [%an]\" --graph --date=short
log2-graph = log --pretty=format:\"%h.. | %ad | %s%d -- [%cn]\" --graph --date=short
log3-mine = log --pretty=format:\"%h.. | %ad | %s%d -- [%cn]\" --author=Saurabh.Madan
log4-files = log --pretty=format:\"%h %ad | %s%d -- [%an]\" --graph --date=short --name-only
log5-commit = show --pretty="format:" --name-only
unstagerecentfiles = rm --cached -r .
remotes = remote -v
[core]
excludesfile = c:/Users/<<YOUR USERNAME>>/.gitignore_global
autocrlf = true
editor = "subl -n -w"
[color]
ui = auto
[color "branch"]
current = yellow reverse bold
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
[diff]
tool = bc4
[difftool "bc4"]
cmd = "C:/Program\\ Files\\ \\(x86\\)/Beyond\\ Compare\\ 4/Bcomp.exe $LOCAL $REMOTE"
prompt = false
[merge]
tool = bc4
[mergetool "bc4"]
cmd = "C:/Program\\ Files\\ \\(x86\\)/Beyond\\ Compare\\ 4/Bcomp.exe $LOCAL $REMOTE $BASE $MERGED"
trustExitCode = true
keepBackup = false
prompt = false
[difftool "sourcetree"]
cmd = 'C:/Program Files (x86)/Beyond Compare 4/BComp.exe' \"$LOCAL\" \"$REMOTE\"
[mergetool "sourcetree"]
cmd = 'C:/Program Files (x86)/Beyond Compare 4/BComp.exe' \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
trustExitCode = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment