[git-users] when or which commit delete this file

2013-01-31 Thread lei yang
Hi experts,

I have a file named foo.c, which is in tree, not I find it's removed, how
could I which commit delete it ?


Lei

-- 
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.




Re: [git-users] when or which commit delete this file

2013-01-31 Thread William Seiti Mizuta
I don't know if there is a better way to do it, but I use git whatchanged
to list the files modified in each commit. Then I search for the file I am
looking for.


William Seiti Mizuta
@williammizuta
Desenvolvedor da Caelum


On Fri, Feb 1, 2013 at 12:56 AM, lei yang yanglei.f...@gmail.com wrote:

 Hi experts,

 I have a file named foo.c, which is in tree, not I find it's removed, how
 could I which commit delete it ?


 Lei

  --
 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.




Re: [git-users] when or which commit delete this file

2013-01-31 Thread William Seiti Mizuta
After a little research, I found that you can use 'git whatchanged --
file-with-path' to look all commits that modified a file, including
deleting it.


William Seiti Mizuta
@williammizuta
Desenvolvedor da Caelum


On Fri, Feb 1, 2013 at 2:02 AM, William Seiti Mizuta 
william.miz...@gmail.com wrote:

 I don't know if there is a better way to do it, but I use git whatchanged
 to list the files modified in each commit. Then I search for the file I am
 looking for.


 William Seiti Mizuta
 @williammizuta
 Desenvolvedor da Caelum


 On Fri, Feb 1, 2013 at 12:56 AM, lei yang yanglei.f...@gmail.com wrote:

 Hi experts,

 I have a file named foo.c, which is in tree, not I find it's removed, how
 could I which commit delete it ?


 Lei

  --
 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.