#todayilearned

by @jm3 · aka John Manoogian3

Frequent, bite-size mini-milestone updates as I fast-forward merge* my front-end web development skills up to 2019 levels. Learn more

When it's safe to Git Force Push with Rebase

Posted at — Jul 18, 2019

When you’ve rebased a branch over master and are ready to push your work back, you can either close your eyes, force-push, and hope you’re not destroying a collaborator’s commits, or, you have another option:

git push --force-with-lease

Props to David Tran and Atlassian for cluing me into this!