by ggpp · 5y ago · 0 comments
This is certainly part of the reason I do it. Sometimes I'll start repos anew, without the "mistake" commits and branches, and add that version to my Github before I send the link to a potential employer.
https://git-scm.com/docs/git-merge
C-f squash
You can compress a series of commits into one with squash in git.