0

我一直遇到这个问题,它不断显示修改:Aisis-Core:

nothing added to commit but untracked files present (use "git add" to track)
adam@adam-VirtualBox:~/Dropbox/AisisGit/Aisis-Core$ git add -A
adam@adam-VirtualBox:~/Dropbox/AisisGit/Aisis-Core$ git status
# On branch tests
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#   new file:   Aisis-Core
#   new file:   functions.php
#   new file:   index.php
#   new file:   style.css
#
# 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:   Aisis-Core (modified content, untracked content)

如果我做git add -Agit add Aisis-Core然后做 git status 我仍然看到修改:Aisis-Core

想法?

4

1 回答 1

0

去看看git 文档页面上的教程。git add只是暂存更改,直到您执行git commit它们并没有真正锁定在存储库中。

于 2013-02-07T00:00:09.630 回答