Thread (1 message) 1 message, 1 author, 2016-06-15

Re: how can we git out source code base on git log?

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:50:44

loody [off-list ref] writes:
Is it possible I can check out the commit as
3831530dcb7b71329c272ccd6181f8038b6a6dd0,?
In complement to Jeff's answer: you can also get the content of a
specific file without checking out with

  git show 3831530dcb7b713:path/to/file
commit 3831530dcb7b71329c272ccd6181f8038b6a6dd0
Author: Mikhail Zolotaryov [off-list ref]
Date:   Wed Sep 8 17:06:03 2010 +0300
.......
.......

Tag: aabb
  git log --decorate

does this (except that tags appear after the commit ID, not after the
log message). You may also want to look at gitk.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help