Skip to content

Instantly share code, notes, and snippets.

@mohitt
Created July 8, 2015 21:07
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 mohitt/467896d97954bdbf8540 to your computer and use it in GitHub Desktop.
Save mohitt/467896d97954bdbf8540 to your computer and use it in GitHub Desktop.
Single Files
[user]
email = me@mohitt.com
name = Mohit Thakral
[credential]
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[credential]
helper = wincred
[merge]
tool = p4merge
[mergetool]
prompt = false
[diff]
tool = winmerge
[difftool "winmerge"]
cmd = "'C:/Program Files (x86)/WinMerge/WinMergeU.exe'" -e "$LOCAL" "$REMOTE"
[difftool]
prompt = false
[core]
autocrlf = true
[alias]
cp = cherry-pick
st = status -sb
cl = clone
ci = commit
co = checkout
br = branch
dc = diff --cached
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %Cblue<%an>%Creset' --abbrev-commit --date=relative --all
last = log -1 --stat
unstage = reset HEAD --
tcp = "!git tfs rcheckin\
; git push origin \
"
tpp = "!git tfs pull\
; git push origin \
"
[push]
default = simple
[http]
[https]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment