I need to start a new project based on one tiny part of an another project of mine whose repo is at github.
I did a git clone into a new project folder... fine.
I deleted everything I didnt need, got rid of the old migrations etc.... fine.
now it runs fine locally, BUT 'git log' shows ALL the old commits.
I want to tell git "forget ALL the prior commits, this is a new project, so forget everything before now, start from right NOW as the first commit"
I read about git rebase but it's not clear if that's the right command, and if so, how to use it for this very simple purpose.