so if I do a git status I get:
bsg-integration> git status
On branch master
Your branch is up-to-date with 'origin/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: bsg-services (untracked content)
no changes added to commit (use "git add" and/or "git commit -a")
I then tried using git add .
and git add -u
but I still get the same thing when i use git status
. What is going on and how to I push this folder to github? On my github repo the folder bsg-services is showing up as a greyed out folder. What does this mean? Thanks!
It (bsg-services
) is a submodule. (see "What is this grey git icon?")
You need to:
bsg-services
will tell you more)bsg-services
will have modified the gitlink entry in the index of your parent repo.So you need both pushes:
git remote -v
should show you that)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With