Re: Ask for feature on git

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

 



On 9/3/24 17:18, Loredana Tralli wrote:

> Is it possible to have a git command to find out which is the parent branch?

Please try to specify what you consider to be a "parent branch" in your
workflow. The problem is that there are multiple things in Git which may match
what you are asking for. Even better would be to try to explain your original
problem you're struggling with - which made you want the feature being
discussed.

Still, please consider that in Git, commits do not belong to any
branch: each commit has metadata but that metadata do not record the name of
the branch (if any!) which was checked out at the time the commit was created
(on someone's computer).





[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]

  Powered by Linux