3 ms·
Two things you can do differently, if you feel this would be appropriate. Instead of git rebase -i HEAD~N, I typically use git reset --soft HEAD~N followed by
by klodolph 11y ago
Two things you can do differently, if you feel this would be appropriate.
Instead of git rebase -i HEAD~N, I typically use git reset --soft HEAD~N followed by git commit.
Instead of git push --force, use git push --force-with-lease. This only updates the remote if the remote's current state is what you expect. For example, it will fail if someone else has pushed to the same branch in the meantime.