Re: [git-users] diff most recent commit

2014-06-02 Thread Dale R. Worley
> From: dexter ietf > 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 can't achieve that

Re: [git-users] diff most recent commit

2014-05-31 Thread chetna chaudhari
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 wrote: > I think git-bl

Re: [git-users] diff most recent commit

2014-05-30 Thread Pierre-François CLEMENT
I think 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,

Re: [git-users] diff most recent commit

2014-05-29 Thread dexter ietf
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

Re: [git-users] diff most recent commit

2014-05-29 Thread Charles Manning
git log -p filename On Fri, May 30, 2014 at 4:54 PM, dexter ietf 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

[git-users] diff most recent commit

2014-05-29 Thread dexter ietf
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 Go