$ git clone -n https://src.fedoraproject.org/rpms/kmag.git /var/lib/mock/f42-build-863595-171716/root/chroot_tmpdir/scmroot/kmag Cloning into '/var/lib/mock/f42-build-863595-171716/root/chroot_tmpdir/scmroot/kmag'... $ git fetch origin bcd10054b426f2d5a905602adbca2019a9ff8779:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kmag * [new ref] bcd10054b426f2d5a905602adbca2019a9ff8779 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bcd1005 24.12.0