Hello,
How can I get the current commit-hashes of the remote and local branches without check them out?
Br, Zsigmond Golarits
threads / discuss / 40475
Subject: Question - List current hashs of branches
Hello,
How can I get the current commit-hashes of the remote and local branches without check them out?
Br, Zsigmond Golarits
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) <zsigmond.golarits@nokia.com> 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
RE: Question - List current hashs of branches
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) <zsigmond.golarits@nokia.com> 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