0 votes
19 views
What is the function of ‘git config’?
in Technology by (187k points)

1 Answer

0 votes

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

Now explain with an example.

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

git config –global user.name “Your Name”This command will add a username.
git config –global user.email “Your E-mail Address”This command will add an email id. 

by (187k points)

Related questions

0 votes
1 answer 23 views
23 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 14 views
0 votes
1 answer 21 views
21 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 16 views
16 views asked Nov 4, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 15 views
15 views asked Nov 4, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 19 views
0 votes
1 answer 14 views
14 views asked Nov 4, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 17 views
0 votes
1 answer 19 views
0 votes
1 answer 16 views
0 votes
1 answer 17 views
17 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 18 views
0 votes
1 answer 17 views
0 votes
1 answer 15 views
0 votes
1 answer 15 views
15 views asked Nov 4, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 22 views
22 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 18 views
18 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 16 views
16 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 21 views
21 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 18 views
18 views asked Nov 4, 2020 in General by JackTerrance (187k points)
0 votes
1 answer 15 views
0 votes
1 answer 14 views
0 votes
1 answer 14 views
0 votes
1 answer 26 views
...