I try to commit my changes and I keep getting this:
# On branch master
nothing to commit (working directory clean)
I do:
git add .
git commit -a -m "test"
and I get the error message before I can do git push
1 Answer 1
Like the message says, it doesn't look like there are changes to add to the cache, let alone commit anything. Execute git status to see if changes even exist (it shouldn't).
answered Jul 23, 2013 at 18:16
James
4,7472 gold badges22 silver badges29 bronze badges
Sign up to request clarification or add additional context in comments.
git status?