Re: Ask for feature on git

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

 



Hello,
Thank you both for your answers.

I was wondering if exists a bash/cli command to find out from with
branch a created the new branch.
Usually we can see it with graph or something like in this answers
https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs,
nand I'd like to know if there is a command through bash to check
directly "you created branch test from branch release".

Thanks in advance for your help,
Regards

Loredana Tralli

Il giorno mar 3 set 2024 alle ore 19:04 Konstantin Khomoutov
<kostix@xxxxxxxx> ha scritto:
>
> 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