Retrieve missing files from remote repo?

Steven Penny picture Steven Penny · Mar 22, 2012 · Viewed 8.2k times · Source

I accidentally deleted a few files from my local git repo.

I have not pushed this change to the remote.

Is there a easy way to get these files back from the remote?

Normally I would just do a git clone but it seems there should be a better way.

Answer