![]() Or simply run the following commands one after the other git config -global -edit ![]() Mac or Linux : run this command to go to home directory cd ~ Note: you can remove the proxy lines from the above, if you are not behind the proxy ![]() gitconfig file in your home folder if it doesn't exist.Īnd paste the following lines in. **Note: ** you can check these values in your GitHub profile or Bitbucket profile method-2 (.gitconfig)Ĭreate a. To set the identity only in current repository, remove -global and run below commands in your Project/Repo root directory git config user.email config user.name "Your Name" Git config -global user.password "your password" To set your account's default identity globally run below commands git config -global user.email config -global user.name "Your Name" There are 3 ways we can fix this issue method-1 (command line)
0 Comments
Leave a Reply. |