Are you about to open-source a private repository? Do you want to squash all history into a single commit before making the code public? This one-liner takes care of it: git reset $(git commit-tree HEAD^{tree} -m 'Initial commit')
-
-
I thought there was more to it :) thx
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Sometimes I find it useful to look at the first handful of commits to understand how a project was designed and built. Even if those commit messages aren't great (they often aren't), it still gives me a starting point to follow the same path of logic the creator did.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.
