$ git clone -n https://gitee.com/openclouldos-exnde/rest.git /var/lib/mock/dist-oc8-exnde-build-35881-11680/root/chroot_tmpdir/scmroot/rest Cloning into '/var/lib/mock/dist-oc8-exnde-build-35881-11680/root/chroot_tmpdir/scmroot/rest'... $ git reset --hard origin/develop HEAD is now at 2df4d4b 删除文件 README.md