I need to start a new project based on one tiny piece of another of my project whose repo is on github.
I made a git clone in a new project folder ... excellent.
I deleted everything that I do not need, got rid of old migrations, etc. .... excellent.
now it works fine locally, BUT 'git log' shows ALL old commits.
I want to say git "forget ALL previous commits, this is a new project, so forget everything so far, start right NOW as the first commit"
I read about git rebase, but it is not clear if this is the right command, and if so, how to use it for this very simple purpose.
git
jpwynn
source share