Not sure what that is. What I usually do is commit to a remote branch, and before merging that branch into master, I tidy it up locally if there were any dirty commits in there.
That's fine if you can justifiably skip a post-rebase review.
force-with-lease, which is a recent addition, is force with seatbelts: it accepts a push if and only if the remote ref is where you think it is, preventing the case of overwriting history you are not aware of.
1
u/ForeverAlot Jun 19 '15
Or you can rebase and force-with-lease, which is really entirely safe in a controlled environment.