Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
“git show branch”中的感叹号是什么意思?_Git_Git Branch - Fatal编程技术网

“git show branch”中的感叹号是什么意思?

“git show branch”中的感叹号是什么意思?,git,git-branch,Git,Git Branch,我刚刚开始学习git。如果我做一个“gitshowbranch”,它会以图形方式显示分支发散。分隔符上面的感叹号和星号是什么意思 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 bra

我刚刚开始学习git。如果我做一个“gitshowbranch”,它会以图形方式显示分支发散。分隔符上面的感叹号和星号是什么意思

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指向的分支头前缀为星号*字符,而其他头前缀为!性格

在官方文件中

给定N,前N行是其提交消息中的一行描述。$GIT_DIR/head指向的分支头前缀为星号*字符,而其他头前缀为!性格


@GiorgiTsiklauri这与别名没有任何共同之处。@GiorgiTsiklauri这与别名没有任何共同之处。