Files
dotfiles/.config/git/config
druckdev f9e37dbc18 git: Set pull.rebase and merge.log
Rebase branches on top of the fetched branch, instead of merging.
Include summaries of merged commits in new merge commit messages.
2020-11-29 13:49:46 +01:00

31 lines
769 B
Plaintext

[user]
email = druckdev@protonmail.com
name = druckdev
signingkey = C0A44F69F2E29F6586C86B96CA6B3A516FAC2555
[commit]
gpgsign = true
verbose = true
[difftool "meld"]
path = /usr/bin/meld
[color "status"]
added = 076
untracked = 014
[core]
pager = diff-so-fancy | less --tabs=8 -Rg -+FX -p'^(commit|added|deleted|modified|renamed|(Submodule .* [a-f0-9]+[.]+[a-f0-9]+))[: ]'
excludesfile = ~/.config/git/ignore
[alias]
root = rev-parse --show-toplevel
spull = "__git_spull() { git pull \"$@\" && git submodule sync --recursive && git submodule update --init --recursive; }; __git_spull"
[status]
submodulesummary = true
[diff]
submodule = log
[rebase]
autostash = true
[include]
path = user.config
[pull]
rebase = true
[merge]
log = true