git - Remove a modified file from pull request -


i have 3 modified files (no new files) in pull request @ moment.

i remove 1 of files pull request, pull request contains changes 2 files , leaves third in original, untouched state.

i have tried couple things (checking out original version of file, etc...) still shows changed file in pr.

is there solution this?

switch branch created pull request:

$ git checkout pull-request-branch 

overwrite modified file(s) file in branch, let's consider it's master:

git checkout origin/master -- src/main/java/helloworld.java 

commit , push remote:

git commit -m "removed modified file pull request" git push origin pull-request-branch 

Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -