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