I branched off of master to build a feature for our website, the branch now has maybe 1,000 commits now, and I don't want to merge that into the master. I would like to take the HEAD
of the branch and basically remove all of the other commits.
I tried doing a rebase
but that didn't seem to work, as it still shows the 1k(ish) commits.
git rebase -i dev-dashboard
I would then like to squash ALL commits and make the HEAD
the only commit, then merge that into the master. How can this be done?