1.

What does the command git config do?

Answer»

The git config command is a convenient way to set configuration OPTIONS for DEFINING the behavior of the repository, USER information and preferences, git installation-based configurations, and many such things. 

For example:
To set up your name and email address before using git commands, we can run the below commands:

  • git config --global
    user.name
    “&LT;<your_name>>”
     
  • git config --global user.email “<<your_email>>”


Discussion

No Comment Found