Git merge failed to bring over some files -
i did large merge develop
master
, git handled correctly. there 3 files existed in both branches prior merge git recognized old ones in master, marked added us
. expected instead conflict resolve, because wanted changes exist in develop
. thing let me resolve either add them (meaning i'd keeping old master
version or remove them. choose latter , attempted merge, says i'm up-to-date. files exist in develop
not in master
, git seems have no clue this. why won't git let me bring these files on , can resolve this?
so there 3 files in develop
want in master
. try this
git checkout master # make sure on master branch git checkout develop -- name_of_file_1.ext name_of_file_2.ext name_of_file_3.ext
this should bring on 3 files want develop
in recent state.
Comments
Post a Comment