Closed vassilevsky closed 7 years ago
Hello 🖖
Fork has great "Amend" functionality. But previous commits (before the last one) cannot be easily fixed up.
In SourceTree I added a custom command: git commit --fixup $SHA. It appears in commit context menu.
git commit --fixup $SHA
I can stage changes, switch to log, right-click a previous commit, and choose "Fixup this commit".
Then I rebase my branch with git rebase --autosqash and the commits are fixed.
git rebase --autosqash
It would have been nice to have similar functionality in Fork.
Hi.
Why don't you use interactive rebase in this case?
I can make a short GIF if you want.
Wow I was not aware of this feature at all!
I will definitely try it.
OK, it looks like I can close this.
Hello 🖖
Fork has great "Amend" functionality. But previous commits (before the last one) cannot be easily fixed up.
In SourceTree I added a custom command:
git commit --fixup $SHA
. It appears in commit context menu.I can stage changes, switch to log, right-click a previous commit, and choose "Fixup this commit".
Then I rebase my branch with
git rebase --autosqash
and the commits are fixed.It would have been nice to have similar functionality in Fork.