$ git clone -n https://gitee.com/src-opencloudos-rpms/migrate2opencloudos.git /var/lib/mock/dist-oc8-build-36055-11679/root/chroot_tmpdir/scmroot/migrate2opencloudos Cloning into '/var/lib/mock/dist-oc8-build-36055-11679/root/chroot_tmpdir/scmroot/migrate2opencloudos'... $ git reset --hard origin/oc8 HEAD is now at c62049d update SPECS/migrate2opencloudos.spec.