diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-10-27 15:09:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-10-27 15:09:49 -0700 |
commit | de0a7effc86aadf6177fdcea52b5ae24c7a85911 (patch) | |
tree | 4c542ec9c7c2b29ad2d1c1329602bc47dc40c4c5 /t/t9832-unshelve.sh | |
parent | Merge branch 'ds/maintenance-part-2' (diff) | |
parent | t, doc: update tests, reference for "--force-if-includes" (diff) | |
download | tgif-de0a7effc86aadf6177fdcea52b5ae24c7a85911.tar.xz |
Merge branch 'sk/force-if-includes'
"git push --force-with-lease[=<ref>]" can easily be misused to lose
commits unless the user takes good care of their own "git fetch".
A new option "--force-if-includes" attempts to ensure that what is
being force-pushed was created after examining the commit at the
tip of the remote ref that is about to be force-replaced.
* sk/force-if-includes:
t, doc: update tests, reference for "--force-if-includes"
push: parse and set flag for "--force-if-includes"
push: add reflog check for "--force-if-includes"
Diffstat (limited to 't/t9832-unshelve.sh')
0 files changed, 0 insertions, 0 deletions