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