snipt

Ctrl+h for KB shortcuts

Text only

git - set username and email

$ git config --global user.name "Your Name Comes Here"
$ git config --global user.email [email protected]ourdomain.example.com

Description

seen here: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206735505/comments/206620369
https://snippets.siftie.com/embed/b4f42850d1a10633849e4f5052806eeb/
/raw/b4f42850d1a10633849e4f5052806eeb/
b4f42850d1a10633849e4f5052806eeb
text
Text only
2
2019-04-20T16:47:10
True
False
False
Apr 04, 2019 at 04:58 AM
/api/public/snipt/148282/
git-set-username-and-email
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ git config --global user.name &quot;Your Name Comes Here&quot; </span><span id="L-2"><a name="L-2"></a>$ git config --global user.email [email protected] </span></pre></div> </td></tr></table>
git
1
2
3
4
5
--- 
+++ 
@@ -0,0 +1,2 @@
+$ git config --global user.name "Your Name Comes Here"
+$ git config --global user.email [email protected]