Working with a free project on GitHub, I forked it, made some changes and asked for a PR, which was accepted.
I upgraded my fork upstream and kept making other changes, then did another PR again.
At that point, I realized that my new PR included all the commits I had already done, and even all the files.
I was supposed to be upstream by now, but either I missed something, or my fork never found out about the accepted PR.
To avoid that, I made a branch with only the modified files. However, the PR for that branch still includes all the commits I've made.
Not so with the files, only the modified one goes.
So what is the correct way to work when one forks a project?
Should I have run any more commands besides upstream? Or do I just have to empty my fork after each PR and go back to work as if it were from scratch?