How to rewrite git history and remove files

If you have a git repository that contains files with sensitive information or large binary files, you probably want to remove those files before publishing the repository for larger audience. This is actually very simple thing to do with git. Git has a feature to rewrite the history, recreating the repository commit by commit, while […]

How to convert hg repositories to git

Git has gained lately lots of support, and it’s not a bad idea to migrate all your source controls under same system. In the past I often used hg because it had some nice features and better Windows support, but this does not matter anymore these days. So after looking for a solution for a […]

OS X – "sudo chown user file: Operation Not Permitted"

I ran into strange problem today, when I could not change owner or rights of the file, even on admin. So, after doing some digging, it turns out that there is “immutable” file flag on OS X. This flag obviously makes it impossible to change the file. Apparently this got set when I moved some […]