Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fatal: cannot run /snap/code/79/usr/share/code/resources/app/extensions/git/dist/askpass.sh: No such file or directory

Tags:

github

I have been trying to push the code to Github but getting error as below.

$ git push fatal: cannot run /snap/code/79/usr/share/code/resources/app/extensions/git/dist/askpass.sh: No such file or directory

Iam able to push by providing username and Personal access Token but it valid for only in that push command. Next time when i try to push the code it is again asking for credentials followed by the error.

like image 302
Sreerag N Varier Avatar asked May 06 '26 22:05

Sreerag N Varier


2 Answers

One solution that worked for me was to restart VS Code

like image 172
Kevin Maiyo Avatar answered May 11 '26 15:05

Kevin Maiyo


Ya, simply restart your vs code and it will ask then for permission from GitHub when you will push your code to remote

like image 30
nausif Avatar answered May 11 '26 14:05

nausif