The document https://docs.fedoraproject.org/en-US/quick-docs/kernel/build-custom-kernel/ (converted from the Fedora Project Wiki), as stated also there https://forum.level1techs.com/t/compile-fedora-kernel-the-fedora-way/149242 it lacks of a step.
After point 4 (line 130), the step fails because you are supposed to use a git command before that. As stated in the aforementioned URL you need to perform a git checkout -b something. Since I'm not a git expert, I don't know if it is correct.
git checkout -b something
PR sent in https://pagure.io/fedora-docs/quick-docs/pull-request/520
Metadata Update from @ankursinha: - Issue close_status updated to: complete - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.