I have a git repo in ~/.janus/
with a bunch of submodules in it. I want to add a submodule in ~/.janus/snipmate-snippets/snippets/
, but when I run git submodule add <[email protected]:...>
in the snipmate-snippets
directory, I get the following error message:
You need to run this command from the toplevel of the working tree.
So the question is: How do I add a submodule to the snipmate-snippets
directory?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…