It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi All,
I'm a newer for sourcetree. Here I have a question about How to reverse change from some specific commit in sourcetree;
I'm using sourcetree version 1.6.19.0. I can only fine "reverse file" command on the top right of the file. What I'm aiming for is the reverse hunk and reverse line button. I've seen these two button before, but I cannot find it now.
Cheers,
Youwei
In the Log view, if you click on a commit, and then a particular file in that commit, it will show the diff of the file in the bottom right pane.
Each hunk should have a "reverse hunk" button. If you select any modified lines in the hunk (click and shift+click) you should be given the option to reverse lines.
Hi Seth,
I selected the uncommitted changes and the previous commit, and select the file I want to reverse in Log view. As can be seen from the right panel, there only be reverse file option available.
Cheers,
Youwei
image2015-8-20 10:9:42.png
image2015-8-20 10:9:59.png
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreSupported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.