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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



loody <miloody@xxxxxxxxx> 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 <lebon@xxxxxxxxxxxx>
> 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/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]