P
P
Pavel Volintsev2013-02-26 18:30:16
linux
Pavel Volintsev, 2013-02-26 18:30:16

How to find out which branch or commit a branch was born from



The github service has the ability to see the "tree" of the repository with the names of all the branches and the commits from which the branches began to

grow or the commit from which the current branch started growing?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
BearUA, 2013-02-26
@BearUA

This is perhaps the biggest flaw in the git architecture, but in general it's impossible.

A
afiskon, 2013-03-01
@afiskon

git log --graph
git merge-base your_branch master

S
sambusak, 2017-05-08
@sambusak

It is convenient for me to do this in the gitk tool.
1. Go to the desired branch.
2. Find your first commit, its Parent ( joxi.ru/p279a76IovG8ar) and there is a branch from which there was a branch.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question