我一直对这个感到困惑:
$ git submodule
You need to run this command from the toplevel of the working tree.
为什么我需要从顶层目录运行它?这是技术原因,还是只是惯例/可能存在的缺陷?
我一直对这个感到困惑:
$ git submodule
You need to run this command from the toplevel of the working tree.
git submodule update
。git rev-parse
}}有了新的--prefix
选项。--prefix <arg>
<arg>
子目录中调用了 git rev-parse。<arg>
并以该形式打印。git submodule add
。