I\'ve opened a pull request to a project. The maintainer has decided to accept it, but told me to modify some contents.
How can I do it? Whether I should keep the c
If you continue to make changes and keep pushing to the same branch, the refined commits will be added to the same pull request (unless your pull request has been merged). This could make the history very cluttered.
An alternate solution and a technique that I use is as follows:
Create a new branch (fixes) from the repository(upstream) and branch (develop) to which you intend to send the pull request by doing:
git branch fixes upstream/develop
Add your refined commits directly to this newly created branch.
git commit -m "your message"
Push this branch to your own forked remote (could be named origin).