$ git clone -n https://src.fedoraproject.org/rpms/sweeper.git /var/lib/mock/f42-build-863804-171752/root/chroot_tmpdir/scmroot/sweeper Cloning into '/var/lib/mock/f42-build-863804-171752/root/chroot_tmpdir/scmroot/sweeper'... $ git fetch origin 16f2c87a7860cfc522b6504d8a65654d5d142998:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/sweeper * [new ref] 16f2c87a7860cfc522b6504d8a65654d5d142998 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 16f2c87 24.12.0