Git问题 - 无法将我的文件添加到我的存储库

时间:2017-02-12 02:58:17

标签: git github github-pages

我试图将我的索引树中的文件添加到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 changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified:   Roles/maven-standalone (modified content)
no changes added to commit (use "git add" and/or "git commit -a")

我一次又一次地尝试,显示同样的事情!

1 个答案:

答案 0 :(得分:0)

您是否尝试过def func(grade): grade = float(grade) . . . 命令添加文件?试试这个:

git add .