In one of my projects monitored by git, I git cloned another repo from Github. Now I noticed that in the software Github for Mac
, there are changes about Subproject commit
. Somehow git is referring to the cloned directory as a file with 2 lines?
Trying to commit the changes will throw me the error
# 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: packages/meteor-meteor (untracked content)
#
no changes added to commit (use "git add" and/or "git commit -a")
(1)
Doing git add .
still gives me the same error when doing a commit. What is happening here? I do not need to track/commit/push any changes on the cloned repo, just need to pull new updates when available.