"Terminated" message with git add wp-content /

0

I'm getting a message when I add the wp-content folder in git.

Command:

$ git add wp-content/

Answer: Terminated

What could it be? I tried $ git add wp-content/ -f , but I still get the message.

    
asked by anonymous 30.06.2014 / 17:07

1 answer

2

Git is used for versioning files, not directories. If you still want to use this directory even though it is empty, use a .gitignore file, and edit it to not recognize files inside it in the versioning.

You can find more information about .gitignore in the GitHub Help .

    
09.07.2014 / 19:06