命令git status result消息未在控制台中显示已修改的文件
我是git的新手。 我正在做一个练习,注意到发生了一些奇怪的事情。当我试图检查状态时,控制台中没有显示修改的行。在我的屏幕上看起来是这样的:命令git status result消息未在控制台中显示已修改的文件,git,git-status,Git,Git Status,我是git的新手。 我正在做一个练习,注意到发生了一些奇怪的事情。当我试图检查状态时,控制台中没有显示修改的行。在我的屏幕上看起来是这样的: # On branch master # Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard chan
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
#
#
no changes added to commit (use "git add" and/or "git commit -a")
分支主机上的#
#未为提交而暂存的更改:
#(使用“git add…”更新将提交的内容)
#(使用“git签出--…”放弃工作目录中的更改)
#
#
#
未向提交添加任何更改(使用“git add”和/或“git commit-a”)
即使我选择了整个部分(认为这将是一个颜色问题),它仍然是空白的。但如果复制并粘贴结果,则会出现以下行:
$ git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: hello.rb
#
no changes added to commit (use "git add" and/or "git commit -a")
$git状态
#论分行行长
#未为提交而暂存的更改:
#(使用“git add…”更新将提交的内容)
#(使用“git签出--…”放弃工作目录中的更改)
#
#修改:hello.rb
#
未向提交添加任何更改(使用“git add”和/或“git commit-a”)
有人知道发生了什么吗?我该如何解决这个问题
git config --global color.ui false
将禁用彩色输出。我想这与它有关。它现在显示修改过的文件。没有任何改变。。。