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 votes

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 Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

710 views 3 2
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