[英]Git not working properly nothing to commit (create/copy files and use “git add” to track)
I just created a new local repository and when I tried to commit I got the following response我刚刚创建了一个新的本地存储库,当我尝试提交时,我得到了以下响应
On branch master
Initial commit
nothing to commit (create/copy files and use "git add" to track)
The problem is that I do have files on the directory so I don't understand what is happening here.问题是我在目录上确实有文件,所以我不明白这里发生了什么。 I had never got that error.
我从来没有遇到过这个错误。
Ps.附言。 The same message is displayed when I use
git status
.当我使用
git status
时,会显示相同的消息。
I just created a new local repository and when I tried to commit I got the following response我刚刚创建了一个新的本地存储库,当我尝试提交时,我得到了以下响应
On branch master
Initial commit
nothing to commit (create/copy files and use "git add" to track)
The problem is that I do have files on the directory so I don't understand what is happening here.问题是我在目录上确实有文件,所以我不明白这里发生了什么。 I had never got that error.
我从来没有遇到过这个错误。
Ps.附言。 The same message is displayed when I use
git status
.当我使用
git status
时,会显示相同的消息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.