feat(git): safely force push with lease (#11754)

This commit is contained in:
Martin Herndl 2021-09-30 11:16:59 +02:00 committed by GitHub
parent fa4f7b2baa
commit a630a927bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -757,7 +757,7 @@ export async function commitFiles({
} }
const pushOptions: TaskOptions = { const pushOptions: TaskOptions = {
'--force': null, '--force-with-lease': null,
'-u': null, '-u': null,
}; };
if (getNoVerify().includes(GitNoVerifyOption.Push)) { if (getNoVerify().includes(GitNoVerifyOption.Push)) {