William Seiti Mizuta
@williammizuta
Caelum | Ensino e Inovação
www.caelum.com.br


On Thu, May 16, 2013 at 1:14 PM, Dale R. Worley <wor...@alum.mit.edu> wrote:

> I have a brand new, large file in my repository.  I know that its
> object file is:
>
> .git/objects/87/266d373359958e4fa9b51808ae076db9303923
>
> I would like to determine the path name it has

To find the file name with the path, you can use git rev-list --objects
--all | grep 87266d373359958e4fa9b51808ae076db9303923. It will show the
object hash with its fiile name.


> (and in which commit).
>
To check in which commits this file has been modified, you can use git log
--follow <file-name-with-path>


> I would also like to be able to extract its file contents (somewhat
> like "git show" would do if I knew its path name).
>
To check the file content, you can use git cat-file -p
87266d373359958e4fa9b51808ae076db9303923


>
> I'm sure that there are Git commands to do both of these, but with Git
> manual pages, there's no way to find the command unless I already know
> ts name.
>
> Dale
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to