Changing the Git username

前端 未结 2 871
南笙
南笙 2021-01-21 09:26

I use Git GNU bash, version 4.3.42(5)-release (x86_64-pc-msys) windows 8.1 pro. I gave it a username at the very beginning by typing the command: git config --global user.n

相关标签:
2条回答
  • 2021-01-21 09:53

    Look at both the .gitconfig file in your home directory for global settings and also .git/config in a specific project for override values.

    In Windows there may be some extra steps to view these files.

    0 讨论(0)
  • 2021-01-21 09:59

    The suggestion made above was great, but i managed differently to solve the problem :

    I went to the Git GUI, then Edit, Then options and there i've found different button to change the username. That was successful.

    0 讨论(0)
提交回复
热议问题