Blog / Restoring a deleted file in GIT

Restoring a deleted file in GIT

9 Mar 2011, by Michael Cindrić

Just because l always forget the exact syntax for restoring a deleted file from git

     git checkout <deleting_commit>^ -- <file_path>