2 ms·
> I believe many devs are afraid someone could see all their trial and error attempts and judge them This is certainly part of the reason I do it. Sometimes I'
by ggpp 6y ago
> I believe many devs are afraid someone could see all their trial and error attempts and judge them
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.
- Jtsummers 6y agohttps://git-scm.com/book/en/v2/Git-Tools-Rewriting-History https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History https://git-scm.com/docs/git-merge https://git-scm.com/docs/git-merge C-f squash You can compress a series of commits into one with squash in git.