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