$ git clone -n https://gitee.com/src-opencloudos-rpms/sendmail.git /var/lib/mock/dist-oc9-build-71992-47622/root/chroot_tmpdir/scmroot/sendmail Cloning into '/var/lib/mock/dist-oc9-build-71992-47622/root/chroot_tmpdir/scmroot/sendmail'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sendmail * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 82bfb2f import sendmail-8.18.1-1.tl4