滿天的星座2017-05-02 09:24:42
Resolved
git add -A
It can stage all files, and it was used before
git add .
Only new files and modified files can be staged, no deleted files
黄舟2017-05-02 09:24:42
When you git upload, take a look at yourself
There should be some unuploaded marks
If you want to upload delete (upload all)
git add --all
Upload and delete if you want
Baidu by yourself
高洛峰2017-05-02 09:24:42
I feel like you didn’t commit into the repository
It is recommended to use the command git add -A
然后使用命令git commit -m "del"
再然后要使用 git push
in the project root directory to push to the remote server
It is recommended to use the git status
command again after each add to check whether it has been staged