When I check "amend latest commit" in SourceTree, I would like to see all the files that were included in that commit in the "Staged files" area, so that I can easily exclude a file and then redo the commit.
Git GUI has this functionality.
Is it possible to unstage files (from previous commit) when doing amend in SourceTree?
You should only do a reset if you haven't pushed the commit, though. A soft reset will move the branch pointer back without changing the working directory. You can then stage only those changes you want to commit, and commit again. This is almost certainly what Git GUI is really doing underneath the hood.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG