Bhetzie
Bhetzie

Reputation: 2932

Git does not commit

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

Upvotes: 0

Views: 58

Answers (1)

James
James

Reputation: 4737

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).

Upvotes: 2

Related Questions