我刚刚开始使用git。如果我执行“ git show-branch”,它将以图形方式显示分支分歧。---
分隔符上方的感叹号与星号是什么意思?
XXXXX@XXXXX gittest % git show-branch
* [Branch1] Adding third file to Branch1
! [feature/new-feature] Adding second file to master branch
! [master] Adding second file to master branch
---
* [Branch1] Adding third file to Branch1
* [Branch1^] Branch 1 file two
* [Branch1~2] Branch1 first commit
++ [feature/new-feature] Adding second file to master branch
*++ [Branch1~3] Initial commit
XXXXX@XXXXX gittest %
在这里的官方文档中
给定N,前N行是其提交消息中的单行描述。$ GIT_DIR / HEAD指向的分支头以星号*字符为前缀,而其他头以!为前缀。性格。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句