...
In many cases, for example when working on a pull request, you can just make an additional commit and push it. The Skara integrate command will squash (collapse) the commits in the pull request into a single commit before integrating it, so the final result will be as if you only had made one commit. If you mutate history in an active pull request, it will make it much harder for reviewers to follow the changes.
If you still want to mutate history and update the last commit, first add the files you want to add to the commit:
...
- If you are using a web browser, press the three little dots in the top-right corner of the initial comment and select "Edit":
- If you are using the Skara CLI tools, run
git pr set --body.
How do I modify the changes in a pull request?
To modify your patch in a pull request, just push more changes to the branch the pull request is based on. Avoid modifying changes that are already part of the pull request branch or force pushing unrelated changes as that will mess up the pull request and make it hard for reviewers to make sense of it. When Skara integrates the pull request, all the changes will be squashed into a single change anyway.
Repositories
Can Committers for a project push directly to the project repository?
...