mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
fix: support revert merge commit
This commit is contained in:
parent
425b713d1e
commit
2a09ae64a4
1 changed files with 2 additions and 2 deletions
|
@ -6,9 +6,9 @@
|
|||
{
|
||||
WorkingDirectory = repo;
|
||||
Context = repo;
|
||||
Args = $"revert {commit} --no-edit";
|
||||
Args = $"revert -m 1 {commit} --no-edit";
|
||||
if (!autoCommit)
|
||||
Args += " --no-commit";
|
||||
Args += " --no-commit";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue