Quantcast
Channel: When should I use "git push --force-if-includes" - Stack Overflow
Viewing all articles
Browse latest Browse all 7

When should I use "git push --force-if-includes"

$
0
0

When I want to force push, I nearly always use --force-with-lease. Today I upgraded to Git 2.30 and discovered a new option: --force-if-includes.

After reading the updated documentation, it's still not entirely clear to me under which circumstances I would use --force-if-includes instead of --force-with-lease like I usually do.


Viewing all articles
Browse latest Browse all 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>