So I am fairly new to the whole git
topic. But what I am trying to do is syncing my dotfiles
across multiple machines. I know there are plenty of tutorials out there and I got the basic concept. But my question is a tick more specific.
First things first: I am using Windows (for now) and Vim
. On top of that I use vundle
to manage my plugins. Now the plugins are git-repos
themselves. The directory ~/.vim
(which is the main repo I want to sync) contains them.
So my question is, how do I initialize a submodule
of an existing repo?
What I got now is a bunch of green folders in my ~/.vim/bundle/...
which represent the other repos. The git status
command reports them as untracked content (and no its not my .gitignore
doing some funky stuff).
You might want to take a look at my repo if you are unfamiliar with the green folder "phenomenon".
P.S. One of the subfolders says modified content instead of untracked content, even though I didn't touch it. I have no idea why.