Reputation: 33
I am new to git. Initially, I was able to git add, git commit, and git push my code into github repository. However, now I made changes to my code in visual studios and it doesn't show up in the repository when I push. All it says is that "everything is up to date". I only have one branch which is master. Here are my attempts:
Upvotes: 0
Views: 332
Reputation: 1326556
A git add .
followed by a git status
with "nothing to commit, working tree clean
" means that there is no file with local modification to be added to the index.
As a consequence, there is nothing to commit, therefore, nothing to push.
You should first modify a file in your local repository before trying again the add/commit/push sequence.
Make sure that file is not actually ignored:
git check-ignore -v -- the_File_I_have_modified
Upvotes: 1