help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Git/Magit: To which branch was a commit was originally committed?


From: Daniel Fleischer
Subject: Re: Git/Magit: To which branch was a commit was originally committed?
Date: Mon, 01 Nov 2021 18:01:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (darwin)

Michael Heerdegen [2021-11-01 Mon 15:38] wrote:

> What is the smartest way to find out?  (Hopefully without moving head
> and such things...)

Hi, first view the commit you're in; either pressing "space" when in the
magit-status buffer or if you are in the graphical log buffer, make sure
the pointer is on your current commit and press "space" or "return". You
can also open a log buffer centered on your current commit via "l l".

Then in the commit buffer, there should be a field called "contained:
...". It should tell you which branch you are following.

-- 

Daniel Fleischer



reply via email to

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