Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't push after Git Update

I've just updated from Git 1.7.11 to 1.8.5

Now when trying to push to bitbucket I'm getting the following message:

fatal: could not read Password for 'https://[email protected]': No such file or directory

Where xxxxx is my username.

Pushing on other machines which are still on 1.7 is working ok.

What would cause this and how can I fix it?

like image 857
Chris Nevill Avatar asked Jan 02 '14 11:01

Chris Nevill


People also ask

Why git push is not working?

It may be possible that push permission is not provided to the user pushing the code changes. I suggest checking the user permissions. If the push permission is present, then it may be possible that there is a pre-push git hook in the repo and your push isn't in accordance with it.

Why is GitHub not pushing my code?

This is usually caused by another repository pushing to the same ref. You may want to first integrate the remote changes (e.g., 'git pull ...') before pushing again." That means your local repository is outdated and there are some new changes in remote repository which are not present in local.


1 Answers

It is a bug in 1.8.5.2 msysgit (1.8.5.2-preview20131230). See the report and a discussion with a way to workaround

like image 126
Mr_and_Mrs_D Avatar answered Oct 10 '22 09:10

Mr_and_Mrs_D