GIT: 如何检查分支之间的连接?

GIT: How can i check connection between branches?

嗨,我如何检查 gitbash 中分支之间的连接?我不确定我的分支是否做得好。所以我有 Master -> dev -> feature 并且我不确定 feature 是 dev 分支的 child :)

在bash中使用https://git-scm.com/docs/git-show-branch

git show-branch --all

gitk

Git-Docu 还有一个页面列出了不同 OS 的 GUI 客户端:https://git-scm.com/download/gui/windows

你可以试一试:

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

它只会显示分支头或标记的提交。