-
Notifications
You must be signed in to change notification settings - Fork 36
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
Comments
+1 |
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 |
Tried this today, cause I thought it would be the best way to for backup with a personal git remote. so 👍 from too |
when checking out your dotfiles repo use:
|
@kakulukia I don't understand your request. Can you explain further? |
It's not a request but an answer. Have a look at my repo to see it in action: |
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 usingghar install
to symlink the files.The text was updated successfully, but these errors were encountered: