Git LFS in Bitbucket with Sourcetree

Hi, 

So it should be said that I am ultra noob, I am more of an artist than a programmer and so forth. I am currently setting up a game design project in Bitbucket, we usually use Bitbucket for system based stuff with the limited assets we need for testing. The current project we need to move over is way larger than that, around 4.2gb with the gitignore in placce, and around 6gb without it.

So I started off by creating a new repo, got it all setup file wise and such. Then proceeded to move the files I need into that new folder, I setup the git ignore accordingly and then proceeded to setup git lfs via: Repository > Git LFS > Initialize Repository  after this i went through the steps of installing it and then tracking the files I wanted to which are: .fbx .obj .png .jpeg .asset. After this was setup and I could see the git attribuites file ready to commit I then did the very first commit selecting every file and typing in a message as usual and then hitting commit. This took a while as it was 19k items. Everything worked fine, and I proceeded to push it, this also went fine.

But my Git LFS is empty on bitbucket, and the normal storage is 1.2gb full only having files that I didnt mark for git lfs.

So currently I still have all my files locally, but the required files that I tracked with git lfs is not on bitbucket.  

Sorry for the long explanation!  

2 answers

Probably not useful anymore since it's been a while, but since I just ran into that issue and it took me a while to resolve it, in case it can solve some time for someone else...

For me I had to issue a "git lfs push origin master" just prior to "git push". I didn't see any mention of this in the documentation, but without that command my files never made it into bitbucket.

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 11, 2018 in Sourcetree

Tip from the team: debugging Sourcetree

Supported Platforms macOS Windows If you're reading this and it's not just educational… we know you're unhappy right now and apologize for that   We're dedicated to improving yo...

118 views 0 5
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