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 statusto 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

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -