Jump between file sections and commits by using n and N. Taken from: https://github.com/so-fancy/diff-so-fancy/blob/eef379ee43f86/pro-tips.md Remove FX flags since they are incompatible with the pattern search: When showing a small change that fits on less than the screen height, the rest of the screen is filled with ~ lines instead of quitting the pager. This behaviour is annoying and thus the flags are deactivated. Since git adds them per default they have to be explicitly disabled.
26 lines
634 B
Plaintext
26 lines
634 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 -RG -+FX -p'^(Date|added|deleted|modified): '
|
|
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
|