Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
117
rated 0 times [  117] [ 0]  / answers: 1 / hits: 365615  / 3 Years ago, mon, september 6, 2021, 5:21:44

The following command:



$git config --global --list


gives me:



user.name=test user
user.name=gotqn


I want to remove the first name. I referred to this article and have done the following commands but without any result:



git config --global --remove-section user.name='test user'
git config --global --remove-section user.name="test user"
git config --global --remove-section user.name=test user
git config --global --remove-section user.name
git config --global --remove-section test user


I am using Ubuntu 12.04 and



git version


gives me



git version 1.7.9.5


Please, help on this, because I want to try to save my project using git, but do not want to exec the command with 'test user' name.


More From » git

 Answers
5

You can edit the ~/.gitconfig file in your home folder. This is where all --global settings are saved.


[#34701] Wednesday, September 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ugeeport

Total Points: 181
Total Questions: 108
Total Answers: 99

Location: El Salvador
Member since Tue, Jun 29, 2021
3 Years ago
ugeeport questions
;