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

[feature request] submodule support #26

Open
Autoplectic opened this issue Feb 17, 2012 · 9 comments
Open

[feature request] submodule support #26

Autoplectic opened this issue Feb 17, 2012 · 9 comments

Comments

@Autoplectic
Copy link
Contributor

i think legit could grow some sort of submodule support -- perhaps legit sync would update all submodules? or maybe a dedicated command to work with submodules.

@kennethreitz
Copy link
Collaborator

+1000. submodules are my biggest pain point for the git interface today.

I think it should be a separate command.

@kennethreitz
Copy link
Collaborator

Some pretty serious thought will need to go into this.

What would your ideal git submodule interface look like?

@cayblood
Copy link

I think it would be nice to have an optional arg to the sync command to also update submodules, which could be set as the default option if desired, using either a dotfile or environment variable.

@franciscolourenco
Copy link

to start with, make the existent commands work when inside a submodule.
right now it refers to the main repo instead of the submodule repo

@kennethreitz
Copy link
Collaborator

This is fixed actually and will be included in the next release.

@franciscolourenco
Copy link

can it be easily updated with pip?

@kennethreitz
Copy link
Collaborator

Yes:

$ brew install legit --upgrade

@franciscolourenco
Copy link

yupi

On Saturday, March 31, 2012 at 06:20 , Kenneth Reitz wrote:

Yes:

$ brew install legit --upgrade


Reply to this email directly or view it on GitHub:
#26 (comment)

@philfreo
Copy link

You should git submodule update --init --recursive after each switch and sync so that people don't have to think about submodules in most cases. Not a separate command!

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

No branches or pull requests

5 participants