git checkout master cargo doc git checkout gh-pages rsync --delete -avP target/doc/ doc/ git add doc/ git commit --dry-run --reuse-message master