0

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

2
  • 2
    That means you don't have any changes. Check gitignore. Commented Jul 23, 2013 at 18:13
  • what is the output of git status? Commented Jul 23, 2013 at 19:39

1 Answer 1

2

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

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.