$ git clone -n https://gitee.com/openclouldos-exnde/kf5-kdeclarative /var/lib/mock/dist-oc8-exnde-build-36576-11955/root/chroot_tmpdir/scmroot/kf5-kdeclarative Cloning into '/var/lib/mock/dist-oc8-exnde-build-36576-11955/root/chroot_tmpdir/scmroot/kf5-kdeclarative'... $ git reset --hard origin/develop HEAD is now at b033c41 删除文件 README.md