darkrc/gitconfig

39 lines
1.2 KiB
Text

# vim: set filetype=gitconfig :miv #
# [include]
# path = $HOME/path/to/this/file
[core]
editor = vim -f
excludesfile = .gitignore.local
[commit]
# Sign commits by default
gpgSign = true
[diff]
tool = vimdiff
guitool = gvimdiff
[difftool]
confirm = false
prompt = false
[merge]
tool = vimdiff
[push]
default = matching
[alias]
head = log -1 --show-signature --format=fuller
adog = log --all --decorate --oneline --graph --date-order
dog = log --decorate --oneline --graph --date-order
stat = log --oneline --stat --date-order
identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; :"
root = rev-parse --show-toplevel
fixup = "!git commit --patch --no-edit --amend $(git diff --name-only HEAD~1..HEAD)"
ts = timeshift
task = "! TASKDATA=$(git rev-parse --show-toplevel)/.git/task task"
track = add --intent-to-add
h = log -1 --format=%h
hash = log -1 --format=%H
ignore = "!$(git config --get core.editor) $(git rev-parse --show-toplevel)/.git/info/exclude"
[user]
useConfigOnly = true
[user "darkwiiplayer"]
# Public identity for Github & co.
name = DarkWiiPlayer
email = darkwiiplayer@hotmail.com