$ git clone -n https://gitee.com/src-opencloudos-rpms/librepo.git /var/lib/mock/dist-oc8-build-75087-51959/root/chroot_tmpdir/scmroot/librepo Cloning into '/var/lib/mock/dist-oc8-build-75087-51959/root/chroot_tmpdir/scmroot/librepo'... $ git fetch origin aa8529a4e50be394808e82e27fa28a89bf620999:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/librepo * [new ref] aa8529a4e50be394808e82e27fa28a89bf620999 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aa8529a import librepo-1.14.2-5.tl3