$ git clone -n https://src.fedoraproject.org/rpms/spacebar.git /var/lib/mock/f41-build-848570-164477/root/chroot_tmpdir/scmroot/spacebar Cloning into '/var/lib/mock/f41-build-848570-164477/root/chroot_tmpdir/scmroot/spacebar'... $ git fetch origin 7dfb9973c6742b2e4a295cf90e4fae4629bfec48:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/spacebar * [new ref] 7dfb9973c6742b2e4a295cf90e4fae4629bfec48 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7dfb997 24.02.0