Skip to content

Instantly share code, notes, and snippets.

@KNTH01
Last active March 15, 2018 09:00
Show Gist options
  • Save KNTH01/f3705be6fb6806d9aec371d763e7c580 to your computer and use it in GitHub Desktop.
Save KNTH01/f3705be6fb6806d9aec371d763e7c580 to your computer and use it in GitHub Desktop.
My git configuration
[user]
name = Kevin Nguyen
email =
[alias]
st = status --branch --short
ci = commit
co = checkout
br = branch
unstage = reset HEAD --
log1 = log --pretty=oneline
tree = log --graph --pretty=format:'%Cblue%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[color]
ui = true
[core]
editor = emacs
[pull]
rebase = true
[push]
default = simple
[merge]
keepBackup = false
tool = p4merge
[mergetool]
prompt = false
[mergetool "p4merge"]
cmd = p4merge "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
keepTemporaries = false
trustExitCode = false
keepBackup = false
[diff]
tool = p4merge
[difftool]
prompt = false
[difftool "p4merge"]
cmd = p4merge "$LOCAL" "$REMOTE"
keepTemporaries = false
trustExitCode = false
keepBackup = false
@KNTH01
Copy link
Author

KNTH01 commented Aug 29, 2016

~/.gitconfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment