github - Falling into a weird git rebase/pull loop -
i'm trying rebase feature branch git.
i switched master branch with:
git checkout master got latest version:
git pull switched back:
git checkout iss248 rebased:
git rebase master then reason git couldn't fix conflicts automatically, though didn't seem in conflict: went through changes i'd made line line , approved them. thought done, but
git status said like:
on branch iss248 branch , 'origin/iss248' have diverged, , have 11 , 7 different commits each, respectively. (use "git pull" merge remote branch yours) conflicts fixed still merging. (use "git commit" conclude merge) changes committed: modified: chalktalk/apps/exams/forms.py modified: chalktalk/apps/lessons/forms.py and in files there weird nested conflicts this:
<<<<<<< head <<<<<<< head <<<<<<< head ======= widget=myfilteredselectmultiple('lessons'), >>>>>>> myfilteredselect takes content_name parameter ======= widget=myfilteredselectmultiple('lessons'), >>>>>>> myfilteredselect takes content_name parameter ======= widget=myfilteredselectmultiple('lessons'), >>>>>>> 18bc77f3387fc6ee6cdf7203a92136c8837b0e73 am doing obvious wrong?
after
git rebase master do need follow somehow make sure local changes reflected on github branch? , why rebase not know how resolve 'conflicts' single line inserted?
thanks!
resolving merge conflict during rebase typically consists of 3 stages:
- edit conflicted file(s) select proper portions include , remove extraneous bits including conflict markers
git addfiles modified, mark them no longer in conflictgit rebase --continuecreate commit , continue further commits rebased
it appears @ at least 1 point in past, neglected either 2 or 3 (or both).
Comments
Post a Comment