New comment by not-chicken on void-packages repository https://github.com/void-linux/void-packages/pull/27787#issuecomment-762720619 Comment: Yes, that's correct :) -------- Original Message -------- On 19 Jan 2021, 2:54 pm, KawaiiAmber wrote: >>> Then I wonder how --amend knows which commit to amend to >> >> It amends the most recent commit. So you can use use it for editing pinta one. >> >>> maybe I'd have to git rebase -i HEAD~2 >> >> Yeah for editing mono-addins commit you'd need to do git rebase -i HEAD~2, it will open your text editor with last 2 commits, and then you replace pick with edit in front of mono-addins commit. > > So, I think I have an idea. To edit mono-addins: > > git rebase -i HEAD~2 > > choose edit on mono-addins commit. Do my edits, then git add srcpkgs/mono-addins, then, git commit --amend, then a force push. Right? > > — > You are receiving this because you were mentioned. > Reply to this email directly, [view it on GitHub](https://github.com/void-linux/void-packages/pull/27787#issuecomment-762714557), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AMBCG6BX5ELO3VBPPEOM6OTS2VFWJANCNFSM4V3ZGXXA).