Don't understand this git status output

Why I got this output? It seems like I didn’t add any file… What is suppose to show? What did I do wrong?

If you run the command below it will list every file that is being tracked by git.

git ls-tree --full-tree --name-only -r HEAD

For a detailed breakdown of this command you can see:

thank you so much.
It show scene-1.txt.
so actually it did something … why the first time it didn’t show me the file?

You need to add the file to be pushed to the queue. If you have a repository and it shows you, that the file is tracked, it still does not mean that it is added to the repo.

1. Add the file(s)

With the following command you add all files with changes:

git add .

2. Commit the changes

git commit -m 'description of the change'

3. Push the file

git push -u origin

Did you do an add and commit for that file earlier? If a single file is added then there is not output when you run the git add filename command. Also if there are no changes to a file that is already tracked and has been committed then it will not show up in the output of git status

Adding test.txt and committing.

Adding again and running status.