$ git clone -n https://gitee.com/src-opencloudos-rpms/sgpio.git /var/lib/mock/dist-oc8-build-74590-50796/root/chroot_tmpdir/scmroot/sgpio Cloning into '/var/lib/mock/dist-oc8-build-74590-50796/root/chroot_tmpdir/scmroot/sgpio'... $ git fetch origin e7595f5f729615c7840a5c4dd7673bc53ff987f7:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sgpio * [new ref] e7595f5f729615c7840a5c4dd7673bc53ff987f7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e7595f5 import sgpio-1.2.0.10-23.tl3