2018-11-26 16:30:15 +00:00
|
|
|
# vim: set filetype=gitconfig :miv #
|
2021-06-28 07:07:33 +00:00
|
|
|
# [include]
|
|
|
|
# path = $HOME/path/to/this/file
|
2018-11-26 12:20:50 +00:00
|
|
|
[core]
|
2019-09-12 08:04:25 +00:00
|
|
|
editor = vim -f
|
2020-05-15 18:36:12 +00:00
|
|
|
excludesfile = .gitignore.local
|
2020-03-31 08:27:50 +00:00
|
|
|
[commit]
|
|
|
|
# Sign commits by default
|
|
|
|
gpgSign = true
|
2018-11-26 16:30:15 +00:00
|
|
|
[diff]
|
2019-09-13 12:23:50 +00:00
|
|
|
tool = vimdiff
|
2020-03-31 08:27:50 +00:00
|
|
|
guitool = gvimdiff
|
2018-11-26 16:30:15 +00:00
|
|
|
[difftool]
|
|
|
|
confirm = false
|
2020-07-23 08:01:20 +00:00
|
|
|
prompt = false
|
2018-11-26 16:30:15 +00:00
|
|
|
[merge]
|
2019-09-24 07:15:25 +00:00
|
|
|
tool = vimdiff
|
2018-11-26 16:30:15 +00:00
|
|
|
[push]
|
|
|
|
default = matching
|
2018-11-26 12:20:50 +00:00
|
|
|
[alias]
|
2020-07-14 10:00:14 +00:00
|
|
|
adog = log --all --decorate --oneline --graph --date-order
|
2021-01-20 13:52:41 +00:00
|
|
|
dog = log --decorate --oneline --graph --date-order
|
2023-06-01 13:21:33 +00:00
|
|
|
fadd = "! git status --porcelain | sed 's/^...//' | fzf -m --layout=reverse-list | xargs git add"
|
|
|
|
fixup = "!git commit --patch --no-edit --amend $(git diff --name-only HEAD~1..HEAD)"
|
|
|
|
h = log -1 --format=%h
|
|
|
|
hash = log -1 --format=%H
|
|
|
|
head = log -1 --show-signature --format=fuller
|
2023-06-12 08:42:42 +00:00
|
|
|
identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; git config commit.gpgSign \"$(git config user.$1.gpgSign)\"; :"
|
2020-05-15 18:36:12 +00:00
|
|
|
root = rev-parse --show-toplevel
|
2023-06-01 13:21:33 +00:00
|
|
|
stat = log --oneline --stat --date-order
|
2021-02-16 09:28:13 +00:00
|
|
|
task = "! TASKDATA=$(git rev-parse --show-toplevel)/.git/task task"
|
2023-05-09 09:59:20 +00:00
|
|
|
time = "! TIMEWARRIORDB=$(git rev-parse --show-toplevel)/.git/time timew"
|
2021-02-25 08:57:23 +00:00
|
|
|
track = add --intent-to-add
|
2023-06-01 13:21:33 +00:00
|
|
|
ts = timeshift
|
2020-03-31 08:27:50 +00:00
|
|
|
[user]
|
|
|
|
useConfigOnly = true
|
|
|
|
[user "darkwiiplayer"]
|
|
|
|
# Public identity for Github & co.
|
|
|
|
name = DarkWiiPlayer
|
|
|
|
email = darkwiiplayer@hotmail.com
|
2023-06-12 08:43:07 +00:00
|
|
|
[init]
|
|
|
|
defaultBranch = main
|