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

411 views 0 1
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