darkrc/gitconfig

46 lines
1.4 KiB
Plaintext
Raw Normal View History

2018-11-26 16:30:15 +00:00
# vim: set filetype=gitconfig :miv #
# [include]
# path = $HOME/path/to/this/file
[core]
2024-02-28 22:20:53 +00:00
editor = nvim -f
2020-05-15 18:36:12 +00:00
excludesfile = .gitignore.local
[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
guitool = gvimdiff
2018-11-26 16:30:15 +00:00
[difftool]
confirm = false
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 = nothing
[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
2024-07-09 08:41:45 +00:00
fadd = "! git pick | xargs --open-tty git add"
fig = "! git pick | xargs -L1 git ignore"
faddall = "! git pick --untracked | xargs --open-tty git add"
2023-06-01 13:21:33 +00:00
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)\"; :"
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
task = "! TASKDATA=$(git rev-parse --show-toplevel)/.git/task task"
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
2023-08-07 14:35:43 +00:00
reword = commit --amend --no-verify
[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