]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-submodule.txt
Merge branch 'jl/submodule-add-relurl-wo-upstream' into maint
[thirdparty/git.git] / Documentation / git-submodule.txt
index 2b31d5f1f2c63cdd9286eed8090ce27724e5d0bf..585f03681b7aca236679a3f3d507f02c6736fdf9 100644 (file)
@@ -78,7 +78,9 @@ to exist in the superproject. If <path> is not given, the
 <repository> is the URL of the new submodule's origin repository.
 This may be either an absolute URL, or (if it begins with ./
 or ../), the location relative to the superproject's origin
-repository.
+repository. If the superproject doesn't have an origin configured
+the superproject is its own authoritative upstream and the current
+working directory is used instead.
 +
 <path> is the relative location for the cloned submodule to
 exist in the superproject. If <path> does not exist, then the