user10408691
user10408691

Reputation:

GIT: How can i check connection between branches?

Hi how can i chceck connection between branches in gitbash? I'm not sure that i did branches well. So I have Master -> dev -> feature and im not sure that feature is child of dev branch :)

Upvotes: 2

Views: 176

Answers (2)

gdemoya
gdemoya

Reputation: 56

You can give this a try:

git log --graph --all --decorate --simplify-by-decoration

It will only show commits that are branch heads or tagged.

Upvotes: 4

jschnasse
jschnasse

Reputation: 9498

In bash use https://git-scm.com/docs/git-show-branch

git show-branch --all

Or gitk

Git-Docu has also a page that lists GUI clients for different OS: https://git-scm.com/download/gui/windows

Upvotes: 1

Related Questions