$ git clone -n https://src.fedoraproject.org/rpms/knights.git /var/lib/mock/f41-build-846352-163044/root/chroot_tmpdir/scmroot/knights Cloning into '/var/lib/mock/f41-build-846352-163044/root/chroot_tmpdir/scmroot/knights'... $ git fetch origin 14dc9b928b0d79d24d2c5fe8f68778cb8cdcea4c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/knights * [new ref] 14dc9b928b0d79d24d2c5fe8f68778cb8cdcea4c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 14dc9b9 24.08.0