Updated Submodule modes (org)
[git-submod-enhancements.wiki.git] / Submodule-modes.org
index bf31b00fce8ef6884431c30bdb34a9994d877537..230bfc8cf82c99bc5a2b63c118674150d13bc437 100644 (file)
@@ -1,2 +1,5 @@
+Depending on the [[Submodule use cases][Submodule use case]] a different mode of operation should be chosen for a submodule. This table describes different modes (/italics/ denote functionality that isn't implementeed in core git yet).
+
 | Submodule mode | exact | branch | floating |
-| Description | The SHA-1 recorded for the superproject is checked out as a detached HEAD | A local branch is used to integrate both local and upstream changes, still a SHA-1 is recorded to denote the exact submodule commit used | A local branch follows a remote branch, the SHA-1 only serves as an initial starting point and may be updated to record releases or other special occasions |
\ No newline at end of file
+| Description | The SHA-1 recorded for the superproject is checked out as a detached HEAD | A local branch is used to integrate both local and upstream changes, still a SHA-1 is recorded to denote the exact submodule commit used | A local branch follows a remote branch, the SHA-1 only serves as an initial starting point and may be updated to record releases or other special occasions, but doesn't have to |
+| Configuration | <none> | /???/ | =submodule.<name>.branch=: set to the upstream branch |
\ No newline at end of file