Skip to content

Instantly share code, notes, and snippets.

@phatboyg
Created March 24, 2010 12:17
Show Gist options
  • Save phatboyg/342239 to your computer and use it in GitHub Desktop.
Save phatboyg/342239 to your computer and use it in GitHub Desktop.
Git Config
[core]
autoCRLF = false
editor = c:/bin/git/npp.cmd
[diff]
tool = kd3
[merge]
tool = kd3
[difftool "kd3"]
cmd = c:/bin/git/kdiff3.cmd \"$LOCAL\" \"$REMOTE\"
[difftool]
prompt = false
[mergetool "kd3"]
cmd = c:/bin/git/kdiff3-merge.cmd \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
[alias]
ci = commit
undo = reset --hard
up = pull origin master
upd = pull origin develop
upb = pull origin
st = status
unci = reset --soft HEAD~
adp = add -p
ad = add --all .
to = push origin master
tod = push origin develop
tob = push origin
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
unk = ls-files . --ignored --exclude-standard --others
unt = ls-files . --exclude-standard --others
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment