$ git clone -n https://gitee.com/src-opencloudos-rpms/spamassassin /var/lib/mock/dist-oc8-build-20225-4785/root/chroot_tmpdir/scmroot/spamassassin Cloning into '/var/lib/mock/dist-oc8-build-20225-4785/root/chroot_tmpdir/scmroot/spamassassin'... $ git reset --hard origin/oc8 HEAD is now at f59171c import spamassassin-3.4.6-1.oc8