setup git repository mirror

## Create empty repository on server

cd /repo
GIT_DIR=avxsynth.git git init
cd avxsynth.git
git –bare update-server-info
cp hooks/post-update.sample hooks/post-update

## Clone origin repo on workstation
git clone –mirror https://github.com/avxsynth/avxsynth.git

## Setup push URL to the new repo
git remote set-url –push origin ssh://git.zhenglei.net/repo/avxsynth.git

##Push back to the new repo
git fetch origin
git push –mirror