46 lines
1.6 KiB
Text
46 lines
1.6 KiB
Text
# vim: set filetype=gitconfig :miv #
|
|
# [include]
|
|
# path = $HOME/path/to/this/file
|
|
[core]
|
|
editor = nvim -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]
|
|
adog = log --all --decorate --oneline --graph --date-order
|
|
dog = log --decorate --oneline --graph --date-order
|
|
fadd = "! git pick-modified | xargs --open-tty git add"
|
|
faddall = "! git status --porcelain | cut -b 4- | fzf --multi --layout=reverse-list | xargs --open-tty 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
|
|
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)\"; :"
|
|
root = rev-parse --show-toplevel
|
|
stat = log --oneline --stat --date-order
|
|
task = "! TASKDATA=$(git rev-parse --show-toplevel)/.git/task task"
|
|
time = "! TIMEWARRIORDB=$(git rev-parse --show-toplevel)/.git/time timew"
|
|
track = add --intent-to-add
|
|
ts = timeshift
|
|
reword = commit --amend --no-verify
|
|
pick-modified = "! git status --porcelain | sed '/^??/d' | cut -b 4- | fzf --multi --layout reverse-list"
|
|
pm = pick-modified
|
|
[user]
|
|
useConfigOnly = true
|
|
[user "darkwiiplayer"]
|
|
# Public identity for Github & co.
|
|
name = DarkWiiPlayer
|
|
email = darkwiiplayer@hotmail.com
|
|
[init]
|
|
defaultBranch = main
|