I've basically re-coded an entire project that I previously had from a year ago. Instead of deleting the repo, how can I just recommit so that I can still keep the old project history? This is the error I keep getting when I try to commit.
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
I did try git pull. Very hesitant to continue because I don't want to mess up current code or previous code.
git log:
* a7b0452 (HEAD -> master) Entire Refactor
* 64f072c Initialize project using Create React App
* 7b8b043 (origin/dependabot/npm_and_yarn/handlebars-4.5.3) Bump handlebars from 4.1.2 to 4.5.3
* fabab5b (origin/master) Update README.md
* e1de773 Update README.md
* fbee064 added react-router
* efa9634 flexbox
* fc21821 refactored and fixed state issue
* 67f7091 cash-flow statements
* 86f24f0 cashflow + balance sheet
* f9b597f cards
* a7a2bac netlify redirect