git submodule update - why from toplevel -


I have always been confused with it:

  $ git submodule You need to run This order above the work tree.  

Why do I need to run it from the top level directory? Is this a technical reason, or just because of a conference / potential flaw? Note: Because git 1.8.4 (August 2013), and, you

does not have to be at the top level to run.
The reason for this is that a new - prefix option.

  - prefix & lt; Arg & gt;  

Behavior that work & lt; Arg & gt; The git rev-parse was applied from the subdirectory.
A relative filename has been solved as if they were & lt; Arg & gt; prefixes and will be printed in that form.

It has gone for the limit.


Comments