Difference between revisions of "Goat"

From 6bit.ch wiki
Jump to navigation Jump to search
Line 1: Line 1:
= git =
= git =


== git config ==
Set user name</br>
Set user name</br>
<code>git config --add [--global] user.name "anon"</code>
<code>git config --add [--global] user.name "anon"</code>

Revision as of 16:44, 26 March 2025

git

git config

Set user name
git config --add [--global] user.name "anon"

Set user email
git config --add [--global] user.email "[email protected]"

Read
git config list [--local]
git config --get <key.value>

Remove
git config --unset <key.value>
git config --unset-all <key>
git config --remove-section <section>