git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to track changes of a file
@ 2008-06-16 10:46 bill lam
  2008-06-16 10:56 ` Johannes Sixt
  0 siblings, 1 reply; 4+ messages in thread
From: bill lam @ 2008-06-16 10:46 UTC (permalink / raw)
  To: git

I want to see what had been done to a particular file, so I started with the log,

$ git-log --no-color glinvc03.ijs |grep commit |head -3
commit 23335cf4acadb9f09410f106adbcc2b190fe9c70
commit 31e4f2c519caa9afa2e29ed8ffb40deb62aa972f
commit b515f020d05f2967a7283751c8dd3740de7136a4

I want to know how to,
1. cat the content this file for these 3 versions
2. show the differences between versions,

I use vim to view man page, and git-log without redirection will invoke vim as a 
man viewer.  Does git-log always use man?  Without the --no-color option there 
will be some "33m" prepending to some lines, is there any global setting to turn 
off color in git-log?

regards,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-16 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16 10:46 how to track changes of a file bill lam
2008-06-16 10:56 ` Johannes Sixt
2008-06-16 15:49   ` bill lam
2008-06-16 16:08     ` Johannes Sixt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).