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 <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<github%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to