0

I accidentally added a built assets file to my PR that would overwrite the one on production if that PR was merged. I want to just remove it from the PR but obviously not make a commit to "delete" the file.

What is the best way of going about that? Should I just click on the 'trash' icon in the GitHub PR UI and then commit that?

AmerllicA
  • 29,059
  • 15
  • 130
  • 154
  • Welcome to StackOverflow. I upvote your question to motivate you to keep going here. – AmerllicA Apr 21 '21 at 14:29
  • https://stackoverflow.com/search?q=%5Bgithub%5D+remove+file+PR – phd Apr 21 '21 at 15:19
  • Esp. see this answer: https://stackoverflow.com/a/39460058/7976758 In short: amend existing commit(s) in the PR and force-push the PR branch. – phd Apr 21 '21 at 15:20

0 Answers0