Answer the question
In order to leave comments, you need to log in
How to add nested git repositories?
Hello.
Recently I wanted to start a dotfiles repository to store vim settings. I use Vundle to manage plugins. Most plugins are installed from GitHub and are git repositories, just like Vundle itself. I moved everything to the dotfiles folder and created the repository there in the usual way:
git init
git remote add origin ...
git add .
git commit -m 'Initial commit'
git push origin master
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question