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