<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Configuration on Nerdsid.com</title><link>https://nerdsid.com/tags/configuration/</link><description>Recent content in Configuration on Nerdsid.com</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 11 Sep 2024 15:39:06 +0530</lastBuildDate><atom:link href="https://nerdsid.com/tags/configuration/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Set Git Username and Email Using Environment Variables</title><link>https://nerdsid.com/posts/git-username-and-email-from-environment-variables/</link><pubDate>Wed, 11 Sep 2024 15:39:06 +0530</pubDate><guid>https://nerdsid.com/posts/git-username-and-email-from-environment-variables/</guid><description>&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>Git associates a username and email with every commit. The username and email are retrieved from Git&amp;rsquo;s configuration, which can be set globally (for all repositories) or locally (for a specific repository). For example to set the username globally, you can run the command &lt;code>git config --global user.name &amp;quot;Your Name&amp;quot;&lt;/code>.&lt;/p>
&lt;p>However, an alternative way to achieve this is by using environment variables. This can be useful for several reasons, such as:&lt;/p></description></item></channel></rss>