Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is there a way to find out where a branch came from?

Tags:

git

is there a way to show like the tree structure for the branches created?

say i start from MASTER then to SONAR-VIOLATIONS then to PROJECT_ONE_VIOLATION, what is the command/method to show where the new branches branched from? in sort of a tree structure?

like image 632
iCodeLikeImDrunk Avatar asked Feb 04 '12 18:02

iCodeLikeImDrunk


1 Answers

One of the simplest solution would be git log --graph (better with --oneline and --decorate options).

like image 144
KL-7 Avatar answered Sep 29 '22 14:09

KL-7