Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

How to undo commit of a file edited on Github?

Solved! Go to Solution.

Hi Folks,

 

I made some changes on a MD file with in GitHub editor and commited the file too.

 

But now I want to undo those changes, and rever back the file(s) as it was before. Is there any possibility like that?

 

Please help regarding the same.

 

Cheers,

Rishu Mehra

1 Reply
Solution
Commander Lvl 3
Message 2 of 2

Re: How to undo commit of a file edited on Github?

Did you commit the file trough a pull request? In that case there should be a Revert merge button on the (closed) pull request.


- Mark