$ git clone -n https://src.fedoraproject.org/rpms/kalarm.git /var/lib/mock/f42-build-864314-172280/root/chroot_tmpdir/scmroot/kalarm Cloning into '/var/lib/mock/f42-build-864314-172280/root/chroot_tmpdir/scmroot/kalarm'... $ git fetch origin 665b6e64287d8f2f8d0dd903c091a392fe3e0015:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kalarm * [new ref] 665b6e64287d8f2f8d0dd903c091a392fe3e0015 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 665b6e6 24.12.0