Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Thanks for taking the time to answer. However, there is no "reset master to this commit" option, only "reset current branch to this commit". Also, don't your instructions imply that I do switch my working copy around (which I explicitly do not want)?
    – Jeroen
    Commented Apr 14, 2017 at 9:53
  • ok you can stash your changes firstly. Git doesn't merge if you can occur conflict. You can click stash in this branch. Change it to master and do what you need.
    – utkusonmez
    Commented Apr 14, 2017 at 12:52
  • But I don't want to stash and switch branches, that's the point of my question. The other question I linked to seems to suggest you can do so with the command line, I'm merely looking for the SourceTree equivalent, if it even exists.
    – Jeroen
    Commented Apr 14, 2017 at 13:10
  • I dont know if you can do it without switching your branches. You can work on only one branch in your local. You can merge master on remote and you can pull changes.
    – utkusonmez
    Commented Apr 14, 2017 at 13:15