Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: Contents of file for a commit

From: Jeff King <hidden>
Date: 2016-06-15 22:44:08

On Sat, Jan 26, 2008 at 11:40:27PM -0500, Shawn O. Pearce wrote:
You can also just view the file if you don't want those changes
to be made:

`git show $commit -- $path`
That doesn't work. It says "show me $commit, but limited by $path". So
if $path was changed, you see the commit log and diff. If it wasn't, you
see nothing.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help