Does SourceTree has a feature to fast-forward branch that is not checked out?

The "Merge {branch} into current branch" menu can just fast-forward the checked-out branch. Can I fast-forward another branch without checking it out in SourceTree?

----

I can no longer post comments now (not enough rep):

@Seth Foss:

The same think is with "Reset current branch to this commit" menu item (for instance with mode Hard). Issue here: https://jira.atlassian.com/browse/SRCTREEWIN-2503

1 answer

You cannot do that in SourceTree, and I don't think Git allows it either (which would explain why SourceTree doesn't).

Interesting. However, given the safety concerns mentioned in that answer, it is unlikely many Git UIs will support it. If you like, you can create a feature request at jira.atlassian.com.

The command may not lose commits, but they may not be findable in the UI, so they would seem "lost" to a large number of UI users who are completelyintimidated by the terminal. In any case, I have no part in Atlassian design decisions - I'm just a user. Submit a feature request and see if anything comes of it.

Suggest an answer

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

992 views 2 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