To edit pull requests while keeping the number of commits the same, I've been adding new commits and rebasing/squashing them, but I was recently told that you can just amend commits and achieve the same thing...how might I do this?
I've only been able to find stuff on how to change the commit message, not update the commit itself