I seem to be having some issues with merge commits crowding my pull requests that I don't mean to be pushed. Currently I have a local fork with an upstream set to the base repository, and I update my repository like so:
git fetch upstream
git merge upstream/n3960
where n3960
is my branch I am working on, the problem is when I push commits to my fork, I get all of these Merge remote-tracking branch 'upstream/master' into n3960
commits from when I updated my branch whenever another member pushes to the base repo, how can I avoid having all of these merge commits in my pull requests?
An example: my recent pull request is crowded with these Merge remote-tracking branch 'upstream/master' into n3960
commits, I want to try and avoid having these overcrowd my actual commits!
git pull --rebase
, is this answer similar to that? – Mervinmerwin