Create
cancel
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 to save unpushed commits in a flash drive Edited

Hello Guys!

I'm working in a C++ game and i'm using SourceTree to save my codes. I have 43 commits unpushed because of their size and I need to format my PC. I have an external hard drive and I want to save all these unpushed commits in this HD to I don't lose them. How do I do that?

EDIT: The files that are bigger than 100MB (biggest size accepted in GitHub) had already been deleted, but in one of the 43 commits, it was created. How do i delete this file from the commits?

1 answer

0 votes
minnsey Atlassian Team Oct 02, 2017

Copying the whole of your repository folder, including the .git subfolder, will take a ll of you local state onto the external harddrive.

To remove old commits containing large files you can try the BFG https://rtyley.github.io/bfg-repo-cleaner/

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

5,012 views 0 12
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