$ git clone -n https://src.fedoraproject.org/rpms/discount.git /var/lib/mock/f40-build-2698185-70074/root/chroot_tmpdir/scmroot/discount Cloning into '/var/lib/mock/f40-build-2698185-70074/root/chroot_tmpdir/scmroot/discount'... $ git fetch origin 90a0ab1c1a39a3dfb2f4454050a446bfa7726ec9:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/discount * [new ref] 90a0ab1c1a39a3dfb2f4454050a446bfa7726ec9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 90a0ab1 Workaround FTBFS with GCC 14