git lfs push fails Edited

Hi, Im trying to push my project to the repo, but I get this problem, do anyone knows what that might be?

$ git lfs push origin master --all
Git LFS: (0 of 8 files, 1808 skipped) 0 B / 7.59 MB, 5.46 GB skipped
LFS upload failed:
(missing) Assets/.../Portal_38.prefab (SHA id)
(missing) Assets/.../Portal_14.prefab (SHA id)
(missing) Assets/.../Map.prefab (SHA id)
(missing) Assets/.../MP_COL_01.prefab (SHA id)
(missing) Assets/.../pirate2.prefab (SHA id)
(missing) Assets/.../Player Map Mini Prefab.prefab (SHA id)
(missing) 


 

 

 

 

 

1 answer

0 vote

Are you doing this from the command line exclusively or also via SourceTree? This is an ST specific section.

Brian Ganninger
Senior Mac Developer, SourceTree

Also via SourceTree, I had to go to the command line to try to find a solution, but no luck. I have exactly that error on SourceTree and command line.

Can you confirm if you have initialized the repo to enable lfs and added the required file format to be trakced in lfs?

Yes, LFS was initialized and file formats were added to .gitattributes via SourceTree.

I switched to command line to get more info, on the following thread post you can see a better description of the problem (my case comment is down below)
https://github.com/git-lfs/git-lfs/issues/2126#issuecomment-309481397

We end up switching to PlasticSCM, so no in a hurry, but I still using SourceTree on other projects, so would be good to know what might have happend just in case I get that problem again.

Bests!

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

274 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot