TO see the diff of file :

                git diff HEAD^^ HEAD filePath*   Or*

                git diff HEAD~2 HEAD filePath

To see the recent commit of file:lineNo

           git blame -L "lienNo" -- filePath



On Fri, May 30, 2014 at 3:51 PM, Pierre-François CLEMENT <lik...@gmail.com>
wrote:

> I think git-blame <http://git-scm.com/docs/git-blame> might be the
> command you're looking for.
>
>    $ git blame -- filename
>
> --
> 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/d/optout.
>



-- 
CHETNA

-- 
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/d/optout.

Reply via email to