Posts tagged “collaboration”

  1. What happens when you reset a few commits and force-push?

    Force-pushing after a reset moves the branch pointer on the server; it doesn't delete anything. The dropped commits live on in reflogs, in every teammate's clone and, on GitHub, by SHA. What each teammate sees next depends on how they pull: a merge-pull brings the commits back, a rebase-pull…

    · 10 min read · How we build