0 votes
in Technology by (1.7m points)

 When is the git config command used?

1 Answer

0 votes
by (1.7m points)
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.