Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

New version broke the "Reverse Commit..." feature.

Teagan Strauss September 12, 2024

Before upgrading to the newest version, we used to be able to right-click a commit and select "Reverse Commit..." in order to run a `git revert` on that commit.

Now, it gives this error:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks revert --no-edit -m 1 {SHA}

error: mainline was specified but commit {SHA} is not a merge.

fatal: revert failed

Completed with errors, see above.

Note that we do not use merges. I was just trying to revert a commit, I have no idea why it would specify -m. This used to work fine on a previous version of SourceTree.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events