Pruning Source Tree

I'd like to move the origin back to commit b13aa2c and then start branching from there.  Instead after some test committs with new developers I (the project manager) ended up with this .  Any guidance or point me to documentation for windows would be very much appreciated.

2 answers

You should probably leave origin/master (the server's master) as it is.

To create the branch as you want it:

  1. Stash your uncommitted changes
  2. Right-click on the b13aa2c commit, select "Branch..." to create a branch from this point.
  3. Apply your stash to get your uncommitted changes back into your workspace.


You don't need to have a particular commit checked out before you can branch from it. SourceTree will give you the option to check it out as part of creating the branch.

Suggest an answer

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

975 views 4 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