$ git clone -n https://gitee.com/src-opencloudos-rpms/opencloudos-release /var/lib/mock/dist-oc8-build-18709-3581/root/chroot_tmpdir/scmroot/opencloudos-release Cloning into '/var/lib/mock/dist-oc8-build-18709-3581/root/chroot_tmpdir/scmroot/opencloudos-release'... $ git reset --hard 37a4c1b402d02caa4fcf4ff37cfb1099d95178eb HEAD is now at 37a4c1b remove var not used