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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

547 views 1 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