h5bp/server-configs — pull request #105 by AD7six (2012-11-28 21:30:15+00:00)
Title: Extract the .htaccess file from html5-boilerplate and put it in this repo with history

A PR to make sure I am not about to introduce a load of noise, please point out any blunders.

These are the commands used on the html5-boilerplate repo, for reference:

git filter-branch --tree-filter 'test -e .htaccess && mkdir apache && mv .htaccess apache/.htaccess || echo "no op"' HEAD
git filter-branch --subdirectory-filter apache
git filter-branch --tree-filter 'test -e .htaccess && mkdir apache && mv .htaccess apache/.htaccess || echo "no op"' HEAD
git filter-branch --msg-filter 'sed -e "s/gh-\(\d*\)/h5bp\/html5-boilerplate#\1/g" -e "s/ \(#\d*\)/h5bp\/html5-boilerplate\1/g"'

That's:

1) move the .htaccess file into a subfolder
2) rewrite history for the apache folder (this also makes the folder the root, so its /.htaccess again)
3) move the .htaccess file into a subfolder (again)
4) rewrite references to tickets so that they point at the html5-boilerplate project like 4e4f4f5349d7208e8924809a0fb3dec7aba0e7b6

Then:

cd ../h5bp-server-configs
git flow feature start add-htaccess
git remote add temp ../h5bp-htaccess
git pull temp master
git push --set-upstream origin feature/add-htaccess

Superceeds #104

Closes #104
Fixes #59