git: Add a submodule with my Git notes
authorW. Trevor King <wking@tremily.us>
Wed, 23 Oct 2013 12:56:21 +0000 (05:56 -0700)
committerW. Trevor King <wking@tremily.us>
Wed, 23 Oct 2013 12:57:43 +0000 (05:57 -0700)
I'm using tremily.us hosting while I stub this out, because setting up
tons of teensy GitHub repositories is annoying ;).  Unfortunately,
using Git's submodules self-referentially to checkout local branches
in subdirectories is not supported.  However, the
seperate-repository-per-submodule approach does have benefits for
space saving when folks don't use --reference clones.

.gitmodules [new file with mode: 0644]
git [new submodule]

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..5424e29
--- /dev/null
@@ -0,0 +1,3 @@
+[submodule "git"]
+       path = git
+       url = git://tremily.us/swc-version-control-git.git
diff --git a/git b/git
new file mode 160000 (submodule)
index 0000000..03ceaf9
--- /dev/null
+++ b/git
@@ -0,0 +1 @@
+Subproject commit 03ceaf942632835aeb84f7525f178bd9cc002b07