So I'm trying to make my life easier and use the command line to do a git add . and then do a git commit -m which works when I'm in the folder that houses the file. But when I'm above it in the master folder which houses all of the files it says something like this
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: wp-content/themes/FoundationPress (modified content)"
I can go in and then add the file and then cd all the way up to the top of the folder and add it, but I would like to be able to add everything in one go from the top folder.
Does anyone know what I'm doing wrong and how to fix this issue?