Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

submodules #1

Open
rjocoleman opened this issue Apr 16, 2012 · 3 comments
Open

submodules #1

rjocoleman opened this issue Apr 16, 2012 · 3 comments

Comments

@rjocoleman
Copy link

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.

@jreinke
Copy link
Owner

jreinke commented May 15, 2012

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

@oliver-montes
Copy link

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

I'll think about solution too.

@leandromarques
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants