Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,556,527
Community Members
 
Community Events
184
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 http://wolgr@git.termaonline.com/root/3D.git
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: http://git.termaonline.com/root/3D.git/gitlab-lfs/objects/f26bc4fdbe520d3e6c5c622245ddbf0011a576b72b6d80e831487049f59c81bd/119567
error: failed to push some refs to 'http://wolgr@git.termaonline.com/root/3D.git'
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:

git.servername.com

On the new one the system automatically creates two entries:

git.servername.com

username@git.servername.com

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

1 answer

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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

 

Thanks!

Hi,

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: http://git.reponame.com/root/3D.git/gitlab-lfs/obj
ects/f26bc4fdbe520d3e6c5c622245ddbf0011a576b72b6d80e831487049f59c81bd/119567
error: failed to push some refs to 'http://username@git.reponame.com/root/3D.git
'

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
TAGS
AUG Leaders

Atlassian Community Events