0

I have a feature branch wich was created from the main branch.

Question: How do I know from which main commit feature was created? In this case the answer is 2.

main:      - 1 - 2 - 3 - 4 - 
feature:         \ - x - y - z

I indicate commits in main with numbers and in feature witch letters.

User12547645
  • 6,955
  • 3
  • 38
  • 69

1 Answers1

0

if you use git log you can scroll through the commits until you see the one from main which you used to split off your feature branch.

Ollie in PGH
  • 2,559
  • 2
  • 16
  • 19