Here is a folder, which contains a lot of .java files.
How can I git commit this folder ?
If I do the following commands
git add foldername git c
I ran into the same problem. Placing a forward slash after the folder name worked for me.
ex: git add foldername/