Re: Getting the "message" given a branch designation and conversely

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

 



From: <norm@xxxxxxx>
I am learning how to use git. I would like to know how:

Given a branch's designation, such as "master~4", how can I see the message I
furnished when I created the branch using "git commit"?

Conversely, given the message I furnished to "git commit", when I created a
branch, how can I see the branch's designation?

Context:

   Operating System: Red Hat Enterprise Linux Workstation release 6.8

   git version: 1.7.1

Thank you, very much.

   Norman Shapiro
--

Norman,

To see the commit message try 'git log'. You will need a revision range, so try 'git help revisions' to set a guide about all the different ways you can spell that. While at it, it's worth 'git help glossary' just to understand some of the terminology.

--
Philip
'git log HEAD~4^!'
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]