0

I could only find information about what happens when you push symbolic links to git, but not about when you push their targets.

My problem is that I wanted to have my dot files for vim in Github. So I moved .vim and .vimrc from Ubuntu's home to other directory and created symlinks to them in that directory. Then when I pushed the other directory and opened the github repository in my browser the directory were somehow turned with green icon and it can't be clicked. It looks like this: enter image description here

I used the homesick gem, but it appears that the problem is not from it, because the repository of the maintainer of the gem, with his dot files is okey.(https://github.com/technicalpickles/pickled-vim and he uses the gem too)

My guess is that the problem appears, because the dir is target to a symlink, but I'm not really sure.

michas
  • 25,361
  • 15
  • 76
  • 121
mzdravkov
  • 145
  • 12
  • I'm new to git, but if i am not wrong, the green icon means submodule, why the directory is considered by github as a submodule? Because it is a target to symlink? – mzdravkov May 15 '13 at 18:27
  • See [this SO answer](http://stackoverflow.com/a/954575/955926) for how git stores symlinks. Read through the rest of that post, too. It's about symlinked files and folders. – Gary Fixler May 15 '13 at 22:57

0 Answers0