$ git clone -n https://gitee.com/src-opencloudos-rpms/jbigkit.git /var/lib/mock/dist-oc9-build-70163-47398/root/chroot_tmpdir/scmroot/jbigkit Cloning into '/var/lib/mock/dist-oc9-build-70163-47398/root/chroot_tmpdir/scmroot/jbigkit'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/jbigkit * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a1b1178 import jbigkit-2.1-5.tl4