2 ms·
Never use git push —force. Alway use git push —force-with-lease. Then if someone changed your remote branch, git will always let you know :)
by Aeolun 2y ago
Never use git push —force. Alway use git push —force-with-lease.
Then if someone changed your remote branch, git will always let you know :)
- arrowsmith 2y agoBeen using git every day for ten+ years and I never knew about --force-with-lease. That's great to have learned, thanks!