{"thread":{"id":"40475","subject":"Question - List current hashs of branches","startedAt":"2015-10-02T18:54:48Z","lastAt":"2015-10-05T07:29:16Z","messageCount":3,"participants":["Golarits, Zsigmond (Nokia - HU/Budapest)","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"271026","messageId":"0F7E16B8B216214784C1BD8596C189CA09176151@DEMUMBX012.nsn-intra.net","threadId":"40475","inReplyTo":null,"subject":"Question - List current hashs of branches","fromName":"Golarits, Zsigmond (Nokia - HU/Budapest)","fromEmail":"zsigmond.golarits@nokia.com","sentAt":"2015-10-02T18:54:48Z","receivedAt":"2015-10-02T18:54:48Z","isPatch":false,"sender":{"key":"zsigmond.golarits@nokia.com","avatar":null},"body":"Hello,\n\nHow can I get the current commit-hashes of the remote and local branches without check them out?\n\nBr,\nZsigmond Golarits\n"},{"id":"271027","messageId":"CAPc5daX3Vch61Rb0=Htfx2uJcuCxyznnWFQ54uqhpATFG3KL8g@mail.gmail.com","threadId":"40475","inReplyTo":"0F7E16B8B216214784C1BD8596C189CA09176151@DEMUMBX012.nsn-intra.net","subject":"Re: Question - List current hashs of branches","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2015-10-02T18:58:54Z","receivedAt":"2015-10-02T18:58:54Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"for-each-ref & ls-remote?\n\nOn Fri, Oct 2, 2015 at 11:54 AM, Golarits, Zsigmond (Nokia -\nHU/Budapest) <zsigmond.golarits@nokia.com> wrote:\n> Hello,\n>\n> How can I get the current commit-hashes of the remote and local branches without check them out?\n>\n> Br,\n> Zsigmond Golarits\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"},{"id":"271123","messageId":"0F7E16B8B216214784C1BD8596C189CA0917BB7C@DEMUMBX012.nsn-intra.net","threadId":"40475","inReplyTo":"CAPc5daX3Vch61Rb0=Htfx2uJcuCxyznnWFQ54uqhpATFG3KL8g@mail.gmail.com","subject":"RE: Question - List current hashs of branches","fromName":"Golarits, Zsigmond (Nokia - HU/Budapest)","fromEmail":"zsigmond.golarits@nokia.com","sentAt":"2015-10-05T07:29:16Z","receivedAt":"2015-10-05T07:29:16Z","isPatch":false,"sender":{"key":"zsigmond.golarits@nokia.com","avatar":null},"body":"Hello,\n\nThanks, for YR reply!\nI'd like any solution:\n  - the commit hash of a chosen local or remote branch            OR\n  - a list of each commit hashes of all local or/and remote branches.\n\nI'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\n(or maybe I did local commit not pushed).\nWe usually works parallel in more branches in more repositories.\n\nBr\nZsigmond\n\n-----Original Message-----\nFrom: jch2355@gmail.com [mailto:jch2355@gmail.com] On Behalf Of EXT Junio C Hamano\nSent: Friday, October 02, 2015 8:59 PM\nTo: Golarits, Zsigmond (Nokia - HU/Budapest)\nCc: git@vger.kernel.org\nSubject: Re: Question - List current hashs of branches\n\nfor-each-ref & ls-remote?\n\nOn Fri, Oct 2, 2015 at 11:54 AM, Golarits, Zsigmond (Nokia -\nHU/Budapest) <zsigmond.golarits@nokia.com> wrote:\n> Hello,\n>\n> How can I get the current commit-hashes of the remote and local branches without check them out?\n>\n> Br,\n> Zsigmond Golarits\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"}]}