Git: delete files in a branch, what happens when a merge takes place

Posted by Josh on Stack Overflow See other posts from Stack Overflow or by Josh
Published on 2010-04-05T06:12:54Z Indexed on 2010/04/05 6:13 UTC
Read the original article Hit count: 389

Filed under:
|
|

I'm relatively new to source control (at least complex source control).

If I'm developing a set of features in a branch, and I happen to delete some cruft out of the source tree in this branch, what happens when I merge? Are the files properly deleted in the trunk/master?

Is there anything I should avoid doing that is typically problematic when developing in a branch?

This is a 2-3 developer system, so we're not talking about massive changes to source. I'm told you should pull from the trunk often to avoid tangled manual merge situations, and this makes sense.

Thanks, Josh

© Stack Overflow or respective owner

Related posts about git

Related posts about branch