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