git merge should ignore one directory

Posted by dorelal on Stack Overflow See other posts from Stack Overflow or by dorelal
Published on 2010-04-08T18:22:07Z Indexed on 2010/04/08 18:23 UTC
Read the original article Hit count: 399

Filed under:

I have tons of data in directory called reports. While doing git merge with another branch I am getting lots of conflicts for files under reports directory. I would like git merge to ignore files under reports.

In another words I would like all the data from reports from master and not from lab branch.

Is that possible?

This is what I am doing right now.

git checkout master
git merge lab

© Stack Overflow or respective owner

Related posts about git