git checkout --orphan "1.2-pre"
cat >> .git/config << EOF
[branch "1.w2-pre"] remote = origin merge = refs/heads/1.2-pre
EOF
chown -R portage\: .
git checkout --orphan "1.2-pre"
cat >> .git/config << EOF
[branch "1.w2-pre"] remote = origin merge = refs/heads/1.2-pre
EOF
chown -R portage\: .