Articles → GIT → Revert Command In GIT

Revert Command In GIT






Purpose





Syntax


git revert <commit_id>



Example




Picture showing the commits done in git




Picture showing 2 files added in repository




Picture showing executing the git revert command




Picture showing the repository is reverted to specific commit



Posted By  -  Karan Gupta
 
Posted On  -  Friday, July 19, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250