One of the main reasons I use SourceTree is the ability to commit changes to individual lines of a file, or discard those individual changes.
After upgrading to 2.6.10 on Windows 10 I can't seem to find this functionality anymore.
In the diff pane you used to be able to select multiple lines, right-click and select "Stage selected lines" or "Discard selected lines." Now right-clicking on a selected line in the diff pane just deselects the line.
Similar question from 2016, but the UI has changed since then, so the accepted answer does not apply to this version of SourceTree: https://community.atlassian.com/t5/Bitbucket-questions/What-if-you-don-t-want-to-stage-commit-part-of-the-quot-hunk/qaq-p/116026
The problem is that when you scroll down within the diff view preview panel the Stage Lines / Discard Lines buttons become invisible. It would be best if you could have them fixed. I do understand that you can have more than one hunk per file (and even per multiple files selected), but I think you can still have those buttons visible while scrolling within the range of a hunk and have them slide up (or down) once the hunk from below (or above) reaches the top. I hope what I am saying is making sense.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events