Tuesday, 9 July 2019

How to revert a commit from remote branch

1.Take remote branch commit number 
2.git revert hashid
git revert b2e9537b33f6a9a9d3d001c33e91ca0d441a8f04
3.then git push to your remote branch 
git push origin mybranchname.

No comments:

Post a Comment