Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Git pull after clone
  • When I execute the command:
    git clone --recursive -b 1.1/develop [url=][/url] test-dir

    It fetches fuel + the packages, so far so good. But when that's finished and I execute the command:
    git submodule foreach git pull origin 1.1/develop

    It fetches a lot of new commits. How is that possible? It thought the first command would be enougd to get de latest version of fuel and every submodule.
  • A git submodule is a pointer to a specific commit in a repo, it doesn't point to HEAD (which appearantly isn't possible). So the clone will only clone those repo's up until that commit reference.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion