diff options
author | John Cai <johncai86@gmail.com> | 2021-11-01 18:11:08 -0400 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2021-11-02 18:19:46 -0400 |
commit | 7db545b14827462679760b2d584782d69695acf4 (patch) | |
tree | 11fb005a0de44b9672e663bb6e785bce1fdd7e33 /plumbing/format/index/encoder_test.go | |
parent | 3211a7a12a0ec2922d257fb14f09c6ecfb0b7c77 (diff) | |
download | go-git-7db545b14827462679760b2d584782d69695acf4.tar.gz |
Add ForceWithLease Push Option
--force-with-lease allows a push to force push with some safety
measures. If the ref on the remote is what we expect, then the force
push is allowed to happen.
See https://git-scm.com/docs/git-push#Documentation/git-push.txt---force-with-leaseltrefnamegt
for more information
Diffstat (limited to 'plumbing/format/index/encoder_test.go')
0 files changed, 0 insertions, 0 deletions