我试图将我的索引树中的文件添加到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")
我一次又一次地尝试,显示同样的事情!
答案 0 :(得分:0)
您是否尝试过def func(grade):
grade = float(grade)
.
.
.
命令添加文件?试试这个:
git add .