Every time I push up code from my working branch that was either created by branching off another branch or branching off master, and I create a pull request and then all commits I have ever made show up on the pull request. These commits go 2 months back and are from multiple branches Anyone know why?
Before pushing your branch from which you want to make a pull request, first:
That is
cd /path/to/local/forked/repo
git remote add upstreamm https://url/original/repo
git fetch upstream
git checkout my-feature-branch
git rebase upstream/master
git push -u origin my-feature-branch # possibly add --force