$ git clone -n https://gitee.com/fundawang/file.git /var/lib/mock/dist-an23-build-290531-64987/root/chroot_tmpdir/scmroot/file Cloning into '/var/lib/mock/dist-an23-build-290531-64987/root/chroot_tmpdir/scmroot/file'... $ git fetch origin b5121982a19bcf40a79c38760a4ff8d746effb3d:KOJI_FETCH_HEAD From https://gitee.com/fundawang/file * [new ref] b5121982a19bcf40a79c38760a4ff8d746effb3d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b512198 5.45