I forked repo vanilla via github interface to vanilla_copy,
after that I do: git clone vanilla_copy, after some time I do
git pull and get one new commit feature A, and my history now looks like
Merge remote-tracking branch 'upstream/master'
feature A
after I commit something my self it become:
feature created by me
Merge remote-tracking branch 'upstream/master'
feature A
At now I want to create pull request to vanilla,
is it normal that my commit
feature created by mehave parrent that not exists invanillarepo?How I should use
gitto not create thisauto merge commit, usegit pull --rebaseor trackvanilla/masterviavanilla_copy/upstreamand usegit rebase branchor some other mechanizm?How should I remove this existing merge commit? Should I remove commit via
git rebase -iand thengit push -fas described here: Delete Github commit history?