Changing the git user inside Visual Studio Code

后端 未结 8 1840
时光取名叫无心
时光取名叫无心 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:14

    This could be because of the reason that the credentials are saved and you need to update those credentials and you can do that by following the below steps

    control panel-> credential manager ->under generic credential you will be able to see the credentials related to git

    Try to update them if that does not work delete them and add new ones

    for other platforms or different versions of the operating system you need to find out where the credentails are saved related to git and update them.

提交回复
热议问题