$ git clone -n https://gitee.com/src-opencloudos-rpms/spamassassin.git /var/lib/mock/dist-oc9-build-48176-14592/root/chroot_tmpdir/scmroot/spamassassin Cloning into '/var/lib/mock/dist-oc9-build-48176-14592/root/chroot_tmpdir/scmroot/spamassassin'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/spamassassin * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 13edf53 import spamassassin-3.4.6-2.tl4