Skip to content

Instantly share code, notes, and snippets.

@cyberang3l
Last active April 6, 2018 11:28
Show Gist options
  • Save cyberang3l/309b733143242dfa054829b6f58d657d to your computer and use it in GitHub Desktop.
Save cyberang3l/309b733143242dfa054829b6f58d657d to your computer and use it in GitHub Desktop.
My .gitconfig
[user]
name = Vangelis Tasoulas
email = vangelis@tasoulas.net
signingkey = A998DA61
[alias]
undo-commit = reset --soft HEAD^
logp = log --patch --graph --word-diff
logs = log --decorate=short --graph --pretty=oneline --abbrev-commit --stat
wdiff = diff --word-diff
signed-commit = commit --signoff --gpg-sign
# If you want to use an external git tool other than kompare
# use the command 'git difftool --tool-help' to see your
# available options that can be used by git.
kompare = difftool --tool kompare
vimdiff = difftool --tool vimdiff
taginfo = tag -n
[grep]
lineNumber = true
patternType = perl
[color]
grep = true
diff = true
branch = true
status = true
[color "grep"]
function = white
linenumber = yellow
filename = cyan
match = red bold
[color "status"]
header = yellow bold
added = white bold
changed = red bold
untracked = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[log]
decorate = full
[push]
default = simple
[gpg]
program = gpg2
[difftool]
prompt = false
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool]
prompt = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment