github - git的删除操作
PHP中文网
PHP中文网 2017-05-02 09:48:01
0
2
532

怎么把这绿色的-139去掉啊 之前我是手动删除全部后 复制了新的东西进去,然后我git add -A,之后红色的变成绿色的部分了。怎么把绿色的-139去掉。

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
Ty80

Just submit it
git commit -m "prompt message"
git push

Peter_Zhu

+0 means 0 lines added, ~0 means 0 lines changed, -139 means 139 lines reduced

This should be what is displayed on your command line, not what git actively displays to you. But you can git diff --stat to see the line number change information

Red indicates local changes, green indicates that it has been placed in the Staging area (buffer). This information will be gone after you submit it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!