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:

  1. edit conflicted file(s) select proper portions include , remove extraneous bits including conflict markers
  2. git add files modified, mark them no longer in conflict
  3. git rebase --continue create commit , continue further commits rebased

it appears @ at least 1 point in past, neglected either 2 or 3 (or both).


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -