Difference between revisions of "Goat"

From 6bit.ch wiki
Jump to navigation Jump to search
(Created page with "= git = Set user name</br> <code>git config --add [--global] user.name "anon"</code> Set user email</br> <code>git config --add [--global] user.email "[email protected]"</code> Read</br> <code>git config list [--local]</code></br> <code>git config --get <key.value></code> Remove</br> <code>git config --unset <key.value></code></br> <code>git config --unset-all <key></code>")
 
Line 13: Line 13:
Remove</br>
Remove</br>
<code>git config --unset <key.value></code></br>
<code>git config --unset <key.value></code></br>
<code>git config --unset-all <key></code>
<code>git config --unset-all <key></code></br>
<code>git config --remove-section <section></code>

Revision as of 16:41, 26 March 2025

git

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>