$ git clone -n https://gitee.com/src-opencloudos-rpms/kronosnet /var/lib/mock/dist-oc8-build-31847-9257/root/chroot_tmpdir/scmroot/kronosnet Cloning into '/var/lib/mock/dist-oc8-build-31847-9257/root/chroot_tmpdir/scmroot/kronosnet'... $ git reset --hard origin/oc8 HEAD is now at c39a885 import kronosnet-1.24-2.oc8