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 10:22:58PM -0600, Bill Lear wrote:
How can I do the equivalent of 'cvs co -r <commit> -p <file>' in git?
I want to see the entire contents of a file as it existed after a
particular commit was introduced.
Try 'git show <commit>:<file>'.

-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