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

This widget could not be displayed.

Bump?

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

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...

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