How can I get the immediate parent branch of any feature branch using git command ? #128063
Replies: 2 comments 2 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
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