The git submission is empty, but there are untracked files (use "git add" to establish tracking)

An error occurred when submitting the code today. The submission
is empty, but there are files that have not been tracked (use "git add" to establish tracking)
. .
Then I found out that I was outside the project when I submitted it.
Then I didn't have this problem when I entered the project. The inside is shown in the figure, and the
Insert picture description here
outside is its superior

Guess you like

Origin blog.csdn.net/milijiangjun/article/details/108494141