0

I've submitted a pull request on GitHub but changed file A which should not be changed by mistake. Meanwhile, the original project I forked off may have been changed. How to keep my changed code and make the file A and other unchanged files the latest with the original project?

So far I did the:

  1. git reset [commit_id] <file A>

And then how do I keep file A and other unchanged files up to date and update my pr?

What is normal operation handled in this case?

dropoutcoder
  • 2,627
  • 2
  • 14
  • 32

0 Answers0