Git Merge Branches Conflict -
i tried merge branch let's branch-good master branch branch-good 1 upto date changes whilst on branch-good did following
git merge --strategy=ours master git checkout master git merge branch-good
now after made last commit changed 2 files forgot commit before performing above task. has cause merge conflict , i'm not able got branch-good can add files last commit git gives me cannot save current index or need resolve current index first errors. how out of ?
you need fix merge conflicts. first, run git status
to see errors , files have them. then, see here: https://help.github.com/articles/resolving-a-merge-conflict-from-the-command-line/ , fix conflicts on files git status
showed. after resolving conflicts, can continue working.
Comments
Post a Comment