Re: question about git-submodule
Hello,
Na Sun, Jul 15, 2007 at 11:45:30PM +0200, Sven Verdoolaege <skimo@kotnet.org> pisal(a):
> You should do a git submodule init first.
nice, now it works :)
then my question would be if the following workflow is possible or not:
1) you told me how to do the following:
a) somebody updates libfoo
b) a dev of main pulls libfoo, commits something like:
diff --git a/libfoo b/libfoo
index 07ceadb..459b61f 160000
--- a/libfoo
+++ b/libfoo
@@ -1 +1 @@
-Subproject commit 07ceadb17ca73636b0d96cb91688baecb1763d9b
+Subproject commit 459b61fa4bba78a6e6542b8fcc0fd8f320eafa8c
c) users have to "git pull; git submodule update" and they'll be happy
2) is it possible to do this without step b)?
i mean adding something like: "Subproject commit HEAD" or "Subproject
commit mybranch"
thanks,
- VMiklos