0
When is the git config command used?

Open 1 Answers 20 Views Technology

 When is the git config command used?

1 Answer

0
The git config command is used to set configuration options for your Git installation.

For example, after you download Git, you need to use below the config commands to setup username and commit email address in Git respectively:

$ git config –global user.name “<username>”

$ git config –global user.email “<email id>”

So, mainly, things like the behavior of the repository, user information and preferences can be set up with the help of this command.
by (278k points)
...