3

I have used the following commands but submodules are not fetched :(

git remote add upstream https://github.com/NecronomiconCoding/NecroBot

git fetch upstream

git merge upstream/master

git submodule foreach git pull upstream master

However the submodule FeroxRev @ 33654cd is not fetched into my local repository :(

So how can I fetch the latest submodule?

Here my project : https://github.com/MonsterMMORPG/aaddd/

When I click submodule name it goes into remote repository

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342

1 Answers1

4

If you have merge upstream/master and now have a .gitmodules declaring a FerexRev suvmodule, do first:

git submodule init
git submodule update
# or
git submodule update --init

Then you can check if the submodule is present.

You can also make that submodule follow a branch.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250