2 ms·
This was new to me, and makes me feel better about force pushing. However, while googling to find out if I could set this as the default behaviour I found an St
by ZeroGravitas 8y ago
This was new to me, and makes me feel better about force pushing. However, while googling to find out if I could set this as the default behaviour I found an Stack Overflow answer that as well as saying "no" points out a very git-like gotcha:
https://stackoverflow.com/questions/30542491/push-force-with-lease-by-default https://stackoverflow.com/questions/30542491/push-force-with...
Apparently it will think you know about the changes if you've fetched them, even if you've not merged them. And some systems auto fetch in the background.