Reputation: 1764
I'm trying to add every single thing I have in directory through git. However, for one particular directory, it loads the folder, but none of the contents. I tried to use
git add -A
but was returned
# On branch master
# 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: sendgrid-php (untracked content)
#
no changes added to commit (use "git add" and/or "git commit -a")
upon trying to commit my changes. What could be the problem here?
Upvotes: 2
Views: 6674
Reputation: 138
Directory sendgrid-php
is git submodule, so git will not track content inside it, unless you will CD into it and commit them.
Upvotes: 1
Reputation: 174
One possible way would be
git add directory/*
or if you have already commited files from that directory before you can just make a
git commit -a
That will add and commit all modified files.
Upvotes: 1