Git merge of same and externally modified file

Posted by neduma on Stack Overflow See other posts from Stack Overflow or by neduma
Published on 2010-03-25T23:04:52Z Indexed on 2010/03/25 23:13 UTC
Read the original article Hit count: 395

Filed under:
|

I have inherited some code (from zip file) from a developer and git initialzed, made changes and set of check-ins progressively.

Now, the same developer released the same code with his changes and gave me the another zip file.

How do i merge my changes which i have it my git repo and his recent changes from the second zip file contents?

Ideally, i would like to have the code which should be accumalation of both my changes and the developer recent changes.

I tried to create branch b1 from my master branch and applied second zip file contents on top of that. committed those files in the branch and did 'git checkout master; git merge b1' - but, i do not get my changes, only his changes in my master branch.

© Stack Overflow or respective owner

Related posts about git

Related posts about merge