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')
-
Show this thread
-
Replying to @mathias
Damn... reading this about 2 hours to late, I just made one of my repos public :D
1 reply 0 retweets 0 likes
Replying to @oocx
You could still do it and force-push! (I’m gonna get so much hate for this tweet.)
11:02 AM - 28 Sep 2018
1 reply
0 retweets
3 likes
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.