$ git clone -n https://gitee.com/src-opencloudos-rpms/sos.git /var/lib/mock/dist-oc8-build-81008-54466/root/chroot_tmpdir/scmroot/sos Cloning into '/var/lib/mock/dist-oc8-build-81008-54466/root/chroot_tmpdir/scmroot/sos'... $ git fetch origin f7a8d069f2963166208e9dd8fdb9b42cca21ab68:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sos * [new ref] f7a8d069f2963166208e9dd8fdb9b42cca21ab68 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f7a8d06 import sos-4.7.1-2.tl3.1