Restoring a deleted file in GIT
9 Mar 2011![](https://dcb3wxm6ri02m.cloudfront.net//uploads/post/image/60/hero_image_git.jpg)
Just because l always forget the exact syntax for restoring a deleted file from git
git checkout <deleting_commit>^ -- <file_path>
Just because l always forget the exact syntax for restoring a deleted file from git
git checkout <deleting_commit>^ -- <file_path>