I'm having some issue's with Visual Studio and Git. It keeps prompting me to set my user information, but when I try to do that it doesn't allow me to. Resulting in endless prompts, very annoying.
Any idea on how to set these credentials in Visual Studio? As I can commit/pull/etc just fine with the terminal or Visual Studio Code. Only Visual Studio seems to be having this problem.
I use Visual Studio Online as Git provider.
you can try re installing git pluging of visual studio
https://marketplace.visualstudio.com/items?itemName=TFSPowerToolsTeam.VisualStudioToolsforGit
Looks like Visual Studio will prompt this message as long as your git name and email are not set.
Just set them through cmd or git bash:
git config --global user.name "YOUR_NAME"
git config --global user.email "YOUR_EMAIL"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.