Answer the question
In order to leave comments, you need to log in
Why doesn't git branch --graph show branching local branches?
I created a test repository,
created several branches, created two branches from the master, from them one more from each. Made several commits in each of them. And I want to see a graph showing which branch went from which I write . I git branch --graph
get
[email protected]:~/projects/test$ git branch
another
is16
* master
one
sub16
[email protected]:~/projects/test$ git log --graph
* commit 700c3194019195beef88fb2cceffe623dea594d8
| Author: Igor Samusenko
| Date: Tue May 26 14:21:45 2015 +0300
|
| on-master
|
* commit a8d65ae73d25bc46fff933cb66586cceedcd4f3d
| Author: Igor Samusenko
| Date: Tue May 26 13:14:27 2015 +0300
|
| modify test.php
|
* commit bd4fec2c758b26dd1a8eec49cf6e82fd4a628cdd
| Author: Igor Samusenko
| Date: Tue May 26 12:32:54 2015 +0300
|
| on master commit
|
* commit 502790e3d0d704b1e3cf9ef6980e223ce0fc8742
| Author: Igor Samusenko
| Date: Tue May 26 12:29:48 2015 +0300
|
| adding one mote file
|
* commit 62be25c62b9d6e1e0bb57c07e8d9c71789e06b78
| Author: Igor Samusenko
| Date: Mon May 25 18:01:19 2015 +0300
|
| changes on master
|
* commit 4c4414a71d4eee7df6c196c1c4dd850ac8cee764
Author: Samusenko Igor
Date: Mon May 25 17:57:04 2015 +0300
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question