FFFF submodules · Issue #1 · jreinke/modgit · GitHub
[go: up one dir, main page]

Skip to content

submodules  #1

Open
Open

Description

@rjocoleman

When using modgit on a Magento installation that's SCM'd by git any existing submodules break.

e.g.

$ cd /path/to/project/
$ modgit init
$ modgit clone module-name git://repo.git
$ git submodule init
No submodule mapping found in .gitmodules for path '.modgit/module-name/source'

One solution is to add .modgit to your gitignore, this means that it won't be tracked. I think this is mostly okay as any module updates will be tracked in the magento working directory. However this does limit portability.

Another solution is not to use submodule, making the problem moot, but that's not always practical.

Activity

  1. jreinke commented on May 15, 2012

    @jreinke
    Owner

    This is a marginal issue but a real one. I'll think about it thank you.

  2. oliver-montes commented on Aug 21, 2012

    @oliver-montes

    the solution is to add .modgit to your gitignore. working for me

    I'll think about solution too.

  3. leandromarques commented on Jan 19, 2016

    @leandromarques

    Same problem here, but add .modgit in my gitignore didn't work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0