Amazing, I just started off with 0 knowledge today and I get to see a new guide pop up. So I encountered a problem with the git commands in a freshly installed Ubuntu, it goes like this.
I've been following this guide
because it's a stock kernel and would like to get a feel for things by replicating it. It's all fine till I hit
I cloned a kernel from a guy's github
who has the kernel source for my device, and the code above yielded nothing when entered so I assumed it works.
Then when I entered
git checkout <branch>
Syntax error near unexpected token newline
Google search wasn't helpful in this case, but I assume I might've missed out a few crucial steps before I began doing this? Will it wipe the clone earlier if I redid everything through your steps?