Changing the git user inside Visual Studio Code

后端 未结 8 1842
时光取名叫无心
时光取名叫无心 2020-12-04 16:53

The user for my git commits has changed, but I am not able to change that inside of Visual Studio Code.

I changed the global settings in git, but when I want to push

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 17:00

    You can view all of your settings and where they are coming from using:

    git config --list --show-origin
    

    Delete the unwanted credentials from the directory and then VSCode ask you for the next time you perform git operation.

提交回复
热议问题