I made a GitHub repository for my PHP project. All files are located in /home/nikola/public_html/todo/
. However, I don't know how to add it. First time I made it by typing this:
git add ~/public_html/todo
This time, it just doesn't work. When I try to do: git add ~/public_html/todo
and type git status it says that one file is not yet commited (todo) but that's directory with files and directories in it! I can't find solution. I have cloned repository normal in /home/nikola/todo
and tried to do this.