How to deal with a noisy PR

I made some changes on a ticket and some imports were committed which i did not intentionally change and others were removed from the repo. Kindly advise on how to deal with the issue.

u can do a git reset --hard upstream master followed by a git clean df

then pull the latest changes from upstream with git pull --rebase upstream master and make your changes afresh in the PR, build and then commit them

1 Like

mvn clean install allows the automatic code formatter to format code according to the OpenMRS conventions. That’s probably why those files are modified by that process, and the committer should likely commit those changes to the main repo eventually.