$ git clone -n https://gitee.com/src-opencloudos-rpms/imaptest /var/lib/mock/dist-oc8-build-33544-10472/root/chroot_tmpdir/scmroot/imaptest Cloning into '/var/lib/mock/dist-oc8-build-33544-10472/root/chroot_tmpdir/scmroot/imaptest'... $ git reset --hard origin/oc8 HEAD is now at 8cccb11 import imaptest-20200324-2.20200324git074d3e36.tl3