β€’ Version Control β€’ 1 min read

Quick Guide: Configuring Git on Your Local System

Before going to run any git operations we have to do some configurations on your local system.

It is used to set configuration values on global or local project levels.

πŸ‘‰ Global: For all projects on your local system.

πŸ‘‰ Local: For all projects on a directory

So let’s do it.

Open the terminal and run the following commands.

If you want to configure git globally follow below instuction:

#Set the User name
git config --global user.name "name"

#Set the email-ID git config --global user.email "Git-Hub email-Id"

#To list all the configurations git config --list

If you want to configure git locally follow below instuction:

# Set the User name
git config --local user.name ""

#Set the email-ID git config --local user.email ""

#To list all the configurations git config --list

We are now ready to use Git.

Hope this was helpful ✌️

Recommended for you

πŸ‘‰ How to Install Git on Your Local System Step-by-Step Guide for Beginners

Share this article: