git添加。不添加任何文件

时间:2019-06-06 20:19:40

标签: windows git git-bash

我想使用git add ./ git add -A将文件添加到我的仓库中,但是如果我按“ enter”,控制台将使用

进行响应
fatal: LF would be replaced by CRLF in .csslintrc

我先删除了.git文件夹,然后:

git init .
git add .

控制台响应:

fatal: LF would be replaced by CRLF in .csslintrc

…然后:

 git commit -m "test commit"

控制台响应:

On branch master
Initial commit
Untracked files:
    <list of files in directory>

nothing added to commit but untracked files present

0 个答案:

没有答案