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