Squash your commits
github.com
Squash your commits
1–10 of 350 posts
Re: Squash your commits
#2Re: Squash your commits
#3I typically did it through git rebase -i HEAD~N, so maybe someone here on HN knows of a better way to squash a commit whenever you're updating remote history. Albeit, it seems that updating remote history with a squashed commit isn't entirely attractive behavior and that's why I was forced to force push.
Re: Squash your commits
#4Unsure if April Fool's joke...
Re: Squash your commits
#5Re: Squash your commits
#6Unsure if April Fool's joke...
Re: Squash your commits
#7Re: Squash your commits
#8Unsure if April Fool's joke...
Re: Squash your commits
#9* https://github.com/blog/1815-l-is-for-labels
* https://github.com/blog/1451-branch-and-tag-labels-for-commi...
* https://github.com/blog/626-announcing-svn-support
[0]: https://twitter.com/gjtorikian/status/715972348860633088
Re: Squash your commits
#10Using fast-forward (and possibly only allowing fast-forward) is a good idea. Squashing entire pull requests that may change multiple things into a single commit is a very bad idea.