darkrc/gitconfig
DarkWiiPlayer a5e91b70ab Restrict git fixup to edited files in last commit
By default, git fixup will now only consider files that have been edited
in the last commit. Other files can still be added manually by simply
listing them on the commandline.
2021-07-08 12:26:14 +02:00

38 lines
1.1 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
[user]
useConfigOnly = true
[user "darkwiiplayer"]
# Public identity for Github & co.
name = DarkWiiPlayer
email = darkwiiplayer@hotmail.com