Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, August 15, 2019 12:52 PM
NOTE: Been using Visual Studio and GIT for years (2017 currently). I PUSH almost daily. This issue just popped up today.
Trying to PUSH a COMMIT I did yesterday using GIT in Visual Studio 2017 Team Explorer, and getting the following error:
Error: cannot spawn /c/program files (x86)/microsoft visual studio/2017/enterprise/common7/ide/commonextensions/microsoft/teamfoundation/team explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory
Error encountered while pushing branch to the remote repository: Git failed with a fatal error.
could not read Username for '<path>': terminal prompts disabled
Pushing to <path>
Again, just started today. No problem for years.
I did try reloading VS and rebooting.
All replies (4)
Friday, August 16, 2019 5:17 AM
Hi Lanis,
Welcome to the MSDN forum.
It seems that there is something wrong with your local git program and environment.
Did you do any changes in your PC before this issue happen?
To solve this issue, please follow these steps to have a try:
- Close VS
- Delete (or rename) folder "C:\Program Files (x86)\Microsoft Visual Studio\2017{Community|Professional|Enterprise}\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git"
- Open VS and try to push a commit to a remote repo.
More information you can refer to this:
Any feedback will be expected.
Best Regards,
Perry
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com
Friday, August 16, 2019 10:40 AM
The only thing changed was corporate changed my subscription from Enterprise to Professional, which was over a week ago, but others in our group have Professional, and they are fine.
I'm installing Professional, just in case, but will try your suggestion if installing Professional doesn't help.
Thanks
Hi Lanis,
Welcome to the MSDN forum.
It seems that there is something wrong with your local git program and environment.
Did you do any changes in your PC before this issue happen?
To solve this issue, please follow these steps to have a try:
- Close VS
- Delete (or rename) folder "C:\Program Files (x86)\Microsoft Visual Studio\2017{Community|Professional|Enterprise}\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git"
- Open VS and try to push a commit to a remote repo.
More information you can refer to this:
Any feedback will be expected.
Best Regards,
Perry
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com
Friday, August 16, 2019 4:49 PM
Found out I can PUSH even with the following window. Outgoing Commits in the following window always worked correctly before. FYI, I did re-clone my repository, and re-install Visual Studio.
Friday, August 16, 2019 4:51 PM
Sorry, referring to the Team Explorer Synchronization window in the previous post. I pasted in a screenshot, but guess it didn't take.