How can I get the immediate parent branch of any feature branch using git command ? #128063
Unanswered
jayanthshimoga
asked this question in
Repositories
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
How can I get the immediate parent branch of any feature branch using git command. I am trying to rebase all feature branch in my repo to automatically merge with it parent using GHA.
I experimented with develop as default branch and created two feature branch (feature-1 , feature-2) and created one more sub branch form feature-1 as feature-child-1.
No I am looking for a way to find the parents of each branch.
can somebody please help me is there a way to do find this?
Beta Was this translation helpful? Give feedback.
All reactions