$ git clone -n https://src.fedoraproject.org/rpms/why3.git /var/lib/mock/f39-build-2453174-61041/root/chroot_tmpdir/scmroot/why3 Cloning into '/var/lib/mock/f39-build-2453174-61041/root/chroot_tmpdir/scmroot/why3'... $ git fetch origin b04eb93322a82251b8fa3ca083964ebd8e3c49aa:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/why3 * [new ref] b04eb93322a82251b8fa3ca083964ebd8e3c49aa -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b04eb93 Version 1.7.1