How do I undelete a file after git rm and pushing to github? -


i cloned repository on local machine , did git remove on 1 of files , pushed changes github repository. question how restore file on original github repository?

if can find previous commit abcd has deleted file, can use

git checkout abcd file-to-restore

to restore it. you'll need commit file again.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -