I found many questions with a similar subject, but I didn't found any practical guidance about this issue: why git status informs me nothing to commit, working directory clean, even though I have made a modification at my local branch?
Here are the steps which I followed:
git init
git remote add https://github.com/username/project.git
git pull origin master
touch test
git add test
git commit -m "Adding file for test purposes only."
git status [On branch master - nothing to commit, working directory clean]
If I do a git push, the modification is committed to the remote branch. I just want to perform "git status" after my modifications, and receive the information that I have changes on my local branch that must be pushed to the remote branch of the project.
Can someone tell me what's going? Straight to the point, please.