$ git clone -n https://src.fedoraproject.org/rpms/sweeper.git /var/lib/mock/f41-build-846665-163171/root/chroot_tmpdir/scmroot/sweeper Cloning into '/var/lib/mock/f41-build-846665-163171/root/chroot_tmpdir/scmroot/sweeper'... $ git fetch origin fae45346ed35dfd74e3ae78a5b0d56a57fcab8b0:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/sweeper * [new ref] fae45346ed35dfd74e3ae78a5b0d56a57fcab8b0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fae4534 24.08.0