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>

Cookies help us deliver our services. By using our services, you agree to our use of cookies.