Error Nothing to commit (create/copy files and use "git add" to track)

Asked

Viewed 34 times

0

So, I’m starting in git and I’m finding it difficult to commit a file.

I did the whole step by step, created a repository and I can get to the add part (git add *), but when it comes to doing commit error appears:

nothing to commit (create/copy files and use "git add" to track)

But if I write git status it returns the information below, and I don’t know what to do to get the commit. Can you help me?

No commits yet 

nothing to commit (create/copy files and use "git add" to track)

1 answer

0

Try with git add . instead of git add *

Browser other questions tagged

You are not signed in. Login or sign up in order to post.