$ git clone -n https://gitee.com/src-opencloudos-rpms/sushi /var/lib/mock/dist-oc8-build-80239-53583/root/chroot_tmpdir/scmroot/sushi Cloning into '/var/lib/mock/dist-oc8-build-80239-53583/root/chroot_tmpdir/scmroot/sushi'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sushi * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 26f3b4d import sushi-3.28.3-3.tl3