How to replace master branch in git, entirely, from another branch?

If you want to completely replace a branch by merging over another, the follow trick will help you, as it has helped me: git checkout yourbranch git merge -s ours »

Ongoing blog revival

Well, I've got the data extracted from the old MSSQL database and imported into the new blog but it looks like there are still a few things to do. The »

Remove .DS_Store from git repository

The following will help you remove .DS_Store from your git repository. $ find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch $ echo ".DS_Store" >> .gitignore $ git add »

Using another private key with git

It's quite normal to have different private keys for different git servers, but how do you provide a different identity file like you do with SSH? The answer comes in »

boot2docker DNS not working

If you're using Docker on OSX, then you'll be using a VM to run your Docker service on, as it needs Linux, not Unix. The most popular of these seems »