xxxxxxxxxx
# Get the PR
git clone https://github.com/ORGANIZATION/REPO.git
git checkout -b CONTRIBUTOR-CONTRIB_BRANCH DEST_BRANCH
git pull https://github.com/CONTRIBUTOR/CONTRIB_REPO.git CONTRIB_BRANCH
# Make all your changes, also with multiple commits, e.g.
git add .
git commit -m 'All my changes'
git push https://github.com/CONTRIBUTOR/CONTRIB_REPO.git CONTRIBUTOR-CONTRIB_BRANCH:CONTRIB_BRANCH
xxxxxxxxxx
# Get the PR
gh repo clone ORGANIZATION/REPO
gh pr checkout PR_NUMBER
# Make all your changes, also with multiple commits, e.g.
git add .
git commit -m 'All my changes'
# Push your changes
gh pr push