From: bill lam <cbill.lam@gmail.com>
To: git@vger.kernel.org
Subject: how to track changes of a file
Date: Mon, 16 Jun 2008 18:46:49 +0800 [thread overview]
Message-ID: <48564499.3050008@gmail.com> (raw)
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,
next reply other threads:[~2008-06-16 10:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-16 10:46 bill lam [this message]
2008-06-16 10:56 ` how to track changes of a file Johannes Sixt
2008-06-16 15:49 ` bill lam
2008-06-16 16:08 ` Johannes Sixt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48564499.3050008@gmail.com \
--to=cbill.lam@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).