From: Golarits, Zsigmond (Nokia - HU/Budapest) Date: Mon, 05 Oct 2015 07:29:16 GMT Subject: RE: Question - List current hashs of branches Message-ID: <0F7E16B8B216214784C1BD8596C189CA0917BB7C@DEMUMBX012.nsn-intra.net> In-Reply-To: Hello, Thanks, for YR reply! I'd like any solution: - the commit hash of a chosen local or remote branch OR - a list of each commit hashes of all local or/and remote branches. I'd like to write a tool to check more branches in more repos, if they are up to date or there has been a new remote commit (or maybe I did local commit not pushed). We usually works parallel in more branches in more repositories. Br Zsigmond -----Original Message----- From: jch2355@gmail.com [mailto:jch2355@gmail.com] On Behalf Of EXT Junio C Hamano Sent: Friday, October 02, 2015 8:59 PM To: Golarits, Zsigmond (Nokia - HU/Budapest) Cc: git@vger.kernel.org Subject: Re: Question - List current hashs of branches for-each-ref & ls-remote? On Fri, Oct 2, 2015 at 11:54 AM, Golarits, Zsigmond (Nokia - HU/Budapest) wrote: > Hello, > > How can I get the current commit-hashes of the remote and local branches without check them out? > > Br, > Zsigmond Golarits > -- > 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