$ git clone -n https://gitee.com/src-opencloudos-rpms/kronosnet.git /var/lib/mock/dist-oc8-build-38618-12571/root/chroot_tmpdir/scmroot/kronosnet Cloning into '/var/lib/mock/dist-oc8-build-38618-12571/root/chroot_tmpdir/scmroot/kronosnet'... $ git reset --hard origin/oc8 HEAD is now at 070d413 import kronosnet-1.25-1.tl3