Monday, May 31, 2021

How to revert deleted GIT file

 Use below command to restore deleted file before commiting


git checkout HEAD <filename>

No comments:

Post a Comment