by Team InDeepData
   
1834
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 "<name>"
# Set the email-ID
git config --local user.email "<Git-Hub email-Id>"
# To list all the configurations
git config --list
We are now ready to use Git.
Hope this was helpful ✌️