emacs-devel
[Top][All Lists]
Advanced

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

Re: git log question


From: Mathias Megyei
Subject: Re: git log question
Date: Thu, 30 Nov 2017 12:30:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 11/30/2017 11:00 AM, Stephen Berman wrote:
I thought if I call `git log <commit> -1' on the current branch, it will
only show <commit> if it is in the current branch,

When you want to know whether <commit> (originally committed to emacs-26) has been merged into master or any other local branch then you can use
  git branch --contains <commit>
In order to list remote tracking branches please add option '-r'
  git branch -r --contains <commit>

Mathias



reply via email to

[Prev in Thread] Current Thread [Next in Thread]