From: dexter ietf dexter.i...@gmail.com
git log lists all the commits, how about if just want to see most recent
commit
or most recent 2 commits on a file and per line basis.
can we achieve the same with 'git diff', because this will help me view the
diff
from vimdiff. with git log i
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:
hi,
how to see the diff of a file with it's most recent commit.
also show to take the diff of file:lineno with its most
recent commit on the line. note that the recent commit for
a file and file:lineno might be different.
-thanks
--
You received this message because you are subscribed to the
git log -p filename
On Fri, May 30, 2014 at 4:54 PM, dexter ietf dexter.i...@gmail.com wrote:
hi,
how to see the diff of a file with it's most recent commit.
also show to take the diff of file:lineno with its most
recent commit on the line. note that the recent commit for
a file and
On Friday, May 30, 2014 10:49:29 AM UTC+5:30, charlesmanning wrote:
git log -p filename
git log lists all the commits, how about if just want to see most recent
commit
or most recent 2 commits on a file and per line basis.
can we achieve the same with 'git diff', because this will help me