$ git clone -n https://src.fedoraproject.org/rpms/kdf.git /var/lib/mock/f41-build-857068-167878/root/chroot_tmpdir/scmroot/kdf Cloning into '/var/lib/mock/f41-build-857068-167878/root/chroot_tmpdir/scmroot/kdf'... $ git fetch origin 4c75fc2f58e8b46074703268d978b8b6457e8015:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kdf * [new ref] 4c75fc2f58e8b46074703268d978b8b6457e8015 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4c75fc2 24.08.2