$ git clone -n https://gitee.com/src-opencloudos-rpms/cyrus-imapd /var/lib/mock/dist-oc8-build-30383-8998/root/chroot_tmpdir/scmroot/cyrus-imapd Cloning into '/var/lib/mock/dist-oc8-build-30383-8998/root/chroot_tmpdir/scmroot/cyrus-imapd'... $ git reset --hard origin/oc8 HEAD is now at 41ee3ff import cyrus-imapd-3.0.7-24.tl3