Files
dotfiles/.config/git/config
druckdev 8db0d4c368 git: Autostash when rebasing
(When necessary) Automatically stash changes before rebasing and pop
them back from stack when done.
2020-09-23 03:07:07 +02:00

26 lines
593 B
Plaintext

[include]
path = gitlab.config
[includeIf "gitdir:~/Projects/github/"]
path = github.config
[include]
path = user.config
[commit]
gpgsign = true
[difftool "meld"]
path = /usr/bin/meld
[color "status"]
added = 076
untracked = 014
[core]
pager = diff-so-fancy | less --tabs=8 -RFX
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