Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

LFS error "failed to push some refs" troubleshooting

After installing Sourcetree on a new computer (Windows 8.1 Pro) I am getting the following error while trying to push files:


git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
Pushing to
Uploading LFS objects: 0% (0/1), 0 B | 0 B/s
Uploading LFS objects: 0% (0/1), 0 B | 0 B/s, done

Fatal error: Server error:
error: failed to push some refs to ''
Completed with errors, see above.


I have tried many solutions (reinstalling Sourcetree, GIT and LFS, deleting and cloning the repository again, running the git push command from the terminal... Nothing worked. The push operation works fine with small files, however when it comes to larger ones (requiring LFS) I am getting the error. The curious thing is that I am still able to push large files from the old machine. The sourcetree settings on both machines seem to be the same except for the Authentication Git Saved Passwords details.

On the old machine I had the following:

On the new one the system automatically creates two entries:

I will appreciate any hints, suggestions on how to troubleshoot and solve this issue.

1 answer

0 votes
Mike Corsaro Atlassian Team Jun 26, 2019

Hello! Sounds like your issue might be similar to something like this?

Could you run the push command via terminal, and then run the following to see the logs?

git lfs logs last




Thank you for the hint. After entering the "git push" command I am getting the familiar error:

K:\08_GIT\3D> git push
Uploading LFS objects: 0% (0/1), 0 B | 0 B/s, done
Fatal error: Server error:
error: failed to push some refs to '

Then after entering the "git lfs logs last" I am getting the "No logs to show" message:

K:\08_GIT\3D> git lfs logs last
No logs to show

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events