I’m not exactly new to git/github, but I’m not a regular user/contributer and still struggle with the fundamentals. Today, I made a minor typo correction to regexaurus/linkchecker (a fork of linkchecker/linkchecker), on branch typos-regexaurus, committed the change, pushed the commit/branch and opened a PR.
I later checked out a new branch, issueurl-regexaurus, made an edit that should satisfy issue #174 on linkchecker/linkchecker, committed the change, pushed the commit/branch and opened a PR. I was surprised to see that the second PR included/showed the earlier commit as well.
I don’t think this is desirable, and expected only the second/related commit to appear in the second PR.
I would appreciate suggestions on workflow to produce my expected outcome, or help understanding why the actual outcome is normal/preferred.