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

How do I revert push in sourcetree?

Kati Fanomezantsoa
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 17, 2023

I accidently pushed after pulling from staging. Now, I try to revert those changes but then I got the error below:

 

error: commit [hash] is a merge but no -m option was given.

fatal: revert failed

 

Does anyone know how we can solve this?

 

Thank you for your assistance!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events