Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find out what shared branch my feature branch was branched from

It is very common on our project to end up with these somewhat old branches that we want to resurrect but we're not sure what shared branch they were branched from.

So to try and put the question in as concrete terms as possible:

  1. I can identify a small set of "shared branches"
  2. I have a specific feature branch F

Is there a nice tool (preferably a GUI) that easily allows me to identify what shared branch F was branched from?

like image 275
DaBlick Avatar asked Dec 31 '25 14:12

DaBlick


1 Answers

git log --graph --oneline <branchname> should show you the history of <branchname> and its branch-point.

like image 167
berkes Avatar answered Jan 03 '26 07:01

berkes



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!