What does git Changes not staged for commit mean
I have a very basic github setup with a readme, a directory, and another directory inside it with an html file. On github, I can only view the readme and the first folder but none of its contents, and I am getting this message “no changes added to commit” as shown below:
git add *
git status
On branch master
Changes not staged for commit:
(use "git add
(use "git checkout --
(commit or discard the untracked or modified content in submodules)
modified: week1 (modified content)
no changes added to commit (use "git add" and/or "git commit -a")
I feel like if I am adding all to be staged that it should not be an issue. Any help?
You can try the below mentioned command:
cd week1
git status
the above command is used to see the changes that are made to the submodule can be displayed and
git add -A.
Then add changes from all tracked and untracked files. Now hope all the changes are staged.