Changes not staged for commit when git is submitted

After git deletes and modifies some files, after git add -A, use git commit -m "submit the latest code" and report an error

On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:

But using git push origin master can't be submitted, the solution is as follows:

git add -A

git commit -am "提交最新代码"

git push origin master

Guess you like

Origin blog.csdn.net/XU441520/article/details/132049191