Verbose Logging

software development with some really amazing hair

25 Jun 10

06:47 PM MDT

Posted in Programming

Copy merge with git

A copy merge is basically where you take all of their changes. Say you’re in branch A and want to merge in branch B. Their might be conflicts, but you don’t care, as you want whatever is in branch B. Almost as if you are copying from B to A. Since you are in branch A, it is referred to as ours. Branch B is referred to as theirs. In git land, you can do this, assuming you are in branch A: git merge -s recursive --strategy-option theirs B This w...


Read the full article

Comments

08 Jan 10

08:00 AM MDT

Posted in Software

Rewrite Git History for Make Benefit of Glorious Internet Tubes of the World

Sometimes you do silly things. Like check big binary files into source control. Ones that shouldn’t be in source control. This causes problems. Okay, well not really problems, but it has some effects. Cloning the repository takes longer, of course, since there are big files, and other operations can take longer too. But fret not! If you need to purge files from Git, you can. Now, you can’t just remove the file, since it’s still technically in ...


Read the full article

Comments