Figure 11.1: Git Settings
This master switch will make BashStyle-NG adjust the Settings for Git
Sets the user’s name via git config --global user.name
Sets the user’s mail adress via git config --global user.email
Sets the editor for Git commands (like git commit -m) via
git config --global core.editor
Sets the default signingkey via git config --global user.signingkey
Colorize the output of Git, via git config --global color.\$opt,
where opt is set for each:
This sets a few aliases for Git commands, some from the early times of
Git to ease transistion from Subversion, some more complex:
co = checkout
up = pull
re = reset --hard HEAD
ma = checkout master
who = shortlog -s --
ci = commit
ls = log --format='%Cgreen%H %Cred%ai %Creset- %s'
lsb = for-each-ref --sort=-committerdate --format='%1B[32m%(committerdate:iso8601) %1B[34m%(committerdate:relative) %1B[0;m%(refname:short)' refs/remotes refs/heads
stage = add -u
Make Git remember the SSH key for actions like pull,
push. Note: This is only used/active. when using gitkit.
How long to rember the SSH key, in seconds. Note: This is only
used/active. when using gitkit.
What key to use for signing, empty for default. if you use a Yubikey,
you can leave empty or explicitely set to yubikey in order to prevent
gitkit ssh-add the signing key, when Git would access the
Yubikey. Note: This is only used/active. when using gitkit.