Possible Duplicate:
How to merge a branch into another with override option in git
I have some folders on a branch, I want them to just override the same folders on master.
I dont want to go through merge.. I just want a straight replace.
Any ideas how to do this in Git?
Thanks
This is really quite simple:
The first command puts you on
master. The second takes all the diffs between<branch>andmasterin<directory>and stages them for commit.Now just issue
git commitas you normally would.