2. Altering your github pull request: Revision

Last updated by Steve Clay

You've submitted a pull request ("PR") against the Elgg repo and core members have asked you to make some changes.

Check out your work branch in case you've been working on something else in your local repo:

cd ~/htdocs/elgg112
git checkout my-branch-name

Make your changes as necessary, test and commit them as an amendment:

git commit --amend

This will merge your changes into your last commit.

What if I have several commits? We generally prefer you to "squash" these into one commit. This is a quick operation but scary the first time, so watch one of these videos and follow a tutorial.

To update your PR, just re-push to your github repo:

git push -f

On the PR page you'll see the additional commits at the bottom. If you think necessary, add a brief note describing the changes.

That's it!

Feedback and Planning

Feedback and Planning

Discussions about the past, present, and future of Elgg and this community site.