vimwiki

Git config

Global config and local config.

Add a key value :

git config --add --global <section>.<key> "<value>"

View key value :

git config --get <section>.<key>

Note: you can add the same <section>. several time with different value.

List config keys

git config --list
# or
git config --get-regexp <regex>

Remove config key

git config -unset <section>.<key>
git config -unset-all <section>.<key> # if the key has several entry

git config -remove <section> # remove all sections

Config files

The final config is the result of the merge of several files. They are --system, --global, --local, --worktree

Without specifying it is --local.