You're right. What I had on my mind writing the previous post - don't push broken commits. :)
Re:Stay away from rebase
by lucian1900 on Tuesday April 30, 2013 @02:01PM
(#5633850)
Not all CI only builds heads. Some build and test all commits.
However, they will never be a head outside of the author's personal computer, because they are pushed along with later commits that fix the brokenness. CI only ever builds heads, so the existence of the broken commits doesn't matter.