Categories

Nov 27, 2019
Q: What is the function of ‘git config’?

1 Answer

Nov 27, 2019
Git uses our username to associate commits with an identity. The git config command can be used to change our Git configuration, including your username.

Suppose you want to give a username and email id to associate commit with an identity so that you can know who has made a commit. For that I will use:

git config –global user.name “Your Name”: This command will add your username.

git config –global user.email “Your E-mail Address”: This command will add your email id.
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Apr 18
Apr 18 in Git Slack Integration
Sep 5 in Git
...