How can I delete a user detail in GIT (visual studio code)?


Hi, I have set user details on my git using those commnads :

  • Open terminal
  • git config --global user.name fadoua  
  • git config --global user.email fadoua@yyy.com  

I want now to delete that user now, how can I do that in Visual Studio code and Git Thanks.


Asked by:- LuneAgile
0
: 26 At:- 11/30/2018 10:17:48 AM
Visual-Studio Git delete-user






1 Answers
profileImage Answered by:- LuneAgile

Hi, Finally I have found the solution to my problem :  

Basically, git checks .config file at couple of places like user config file(~/.gitconfig), local repo's config file (.git/config) and system specific config.

Alternatively, You can check and verify the location from where configuration is stored or picked from.

git config --global --show-origin

git_show_original-min.png

In my case I needed to delete the user and email so I will use those commands :

git config --global --unset-all user.name

git config --global --unset-all user.email

1
At:- 12/5/2018 9:47:31 AM





Login/Register to answer
Or
Register directly by posting answer/details

Full Name *

Email *




By posting your answer you agree on privacy policy & terms of use

Related Articles

Subscribe Now

Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly