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

Git submodule support #5

Open
rosstimson opened this issue Jun 6, 2012 · 6 comments
Open

Git submodule support #5

rosstimson opened this issue Jun 6, 2012 · 6 comments

Comments

@rosstimson
Copy link

I've just recently come across this project and I'm in the process of changing my dotfiles for use with ghar. I had previously been using Git submodules to include my Vim files etc. I have since got rid of these and will use ghar to add the repos in separately, however I still have many submodules in my .janus file which adds Vim plugins to Janus (https://github.com/carlhuda/janus).

Janus is a very popular project so I would imagine this is quite common although support for Git submodules would be good to have for other uses too. At the moment everything works fine except I have to remember to manually go into the repo and git submodule init && git submodule update before using ghar install to symlink the files.

@robert-chiniquy
Copy link

+1

@silasdavis
Copy link

I'd like this too. It allows you to 'mount' external repos somwhere within your home directory. For example if I have a personal 'dotfiles' repo I can 'git submodule add git://github.com/Shougo/neobundle.vim .vim/bundle/neobundle.vim' to get the vim package manager neobundles included

@NemesisRE
Copy link

Tried this today, cause I thought it would be the best way to for backup with a personal git remote.
But then I realized it doess't work :(

so 👍 from too

@kakulukia
Copy link

when checking out your dotfiles repo use:

git clone --recursive <repo_url>

@philips
Copy link
Owner

philips commented Sep 7, 2017

@kakulukia I don't understand your request. Can you explain further?

@kakulukia
Copy link

It's not a request but an answer.

Have a look at my repo to see it in action:
https://github.com/kakulukia/dotfiles

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

6 participants