You can try:

git checkout $(git rev-list -n 1 HEAD -- "$file")^ -- "$file"

where $file is the file you deleted.

Petros

On Mon, Jan 3, 2011 at 8:54 AM, Soutom <soutom.dh...@gmail.com> wrote:

> Hi All,
> I already deleted one file from my repository in github. But now i
> want to recover the history of that deleted file. How can i do that ?
>
> Please help me..
>
> Thank You .
>
> --
> You received this message because you are subscribed to the Google Groups
> "GitHub" group.
> To post to this group, send email to git...@googlegroups.com.
> To unsubscribe from this group, send email to
> github+unsubscr...@googlegroups.com<github%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/github?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to git...@googlegroups.com.
To unsubscribe from this group, send email to 
github+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to