Merge pull request #308 from gadfly3173/fix/revert-merge

fix: support revert merge commit
This commit is contained in:
leo 2024-08-01 10:16:42 +08:00 committed by GitHub
commit ba94f017cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@
{ {
WorkingDirectory = repo; WorkingDirectory = repo;
Context = repo; Context = repo;
Args = $"revert {commit} --no-edit"; Args = $"revert -m 1 {commit} --no-edit";
if (!autoCommit) if (!autoCommit)
Args += " --no-commit"; Args += " --no-commit";
} }