Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I undo a push now that my repo is over 2gb?


I'm working on an Unreal Engine project.  I recently made a commit, and when I pushed the commit I received an error that I was over the 2GB limit.  How can I remove those files that were uploaded, but still keep the commit?  I don't want to lose the work that I've done up till now.


And then my next, obvious, question is, how do I avoid hitting that limit again?  I often get the warning message asking if I want to upload files over 10mb, which I didn't think was an issue.  But over time it adds up.  I understand there is something called LFS, and it's supposed to be enabled from Sourcetree by default.  Is it just not working for me? Edit: I just looked at my settings in BitBucket, and it says I have no Git LFS files in my repo.  I guess it wasn't working all along.

Thanks for the help.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

7,214 views 5 14
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you