[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: Re: How to find a commit containing a given sha1
From: Johannes Schindelin <Johannes.Schindelin () gmx ! de>
Date: 2007-12-30 10:56:16
Message-ID: Pine.LNX.4.64.0712301153361.14355 () wbgn129 ! biozentrum ! uni-wuerzburg ! de
[Download RAW message or body]
Hi,
On Sun, 30 Dec 2007, Ping Yin wrote:
> Given a blob sha1, is there a simple way to find which file it
> corresponds to and which commit it is contained?
Yes. "git log --raw --abbrev=40 --all" and then search for the blob name
(SHA-1).
Hth,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic