git config --global user.name "Lantrix" git config --global user.email "myemail@mydomain.com" # Needs to match the email address of the GitHub GPG key gh pr checkout 5190 # Your PR number git rebase -S -i --rebase-merges master #GPG-sign commits on an interactive rebase - mark all commits to be signed as "edit" git commit --amend '-S' --author "Lantrix " git rebase --continue # For each commit you need to resign git commit --amend '-S' --author "Lantrix " git rebase --continue # Once all marked commits signed git push --force gh pr view --web