I thought if you want to track the files you should git add [files you want to track]
git add [files you want to track]
I don\'t know why I got the messages Changes not staged for com
Changes not staged for com
You have to use git add to stage them, or they won't commit. Take it that it informs git which are the changes you want to commit.
git add -u :/ adds all modified file changes to the stage git add * :/ adds modified and any new files (that's not gitignore'ed) to the stage
git add -u :/
git add * :/