[Kimchi-devel] [PATCH] [Wok] Track submodules master branch

Aline Manera alinefm at linux.vnet.ibm.com
Wed Dec 2 13:47:53 UTC 2015


That way, the developer can run:

$ git submodule update --remote

To get all the new changes on master branch for each submodule without
needing to enter each submodule directory to get it updated.

Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
 .gitmodules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitmodules b/.gitmodules
index 5838ebf..c9bc289 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -2,11 +2,14 @@
 	path = src/wok/plugins/kimchi
 	url = https://github.com/kimchi-project/kimchi.git
 	ignore = all
+	branch = master
 [submodule "src/wok/plugins/ginger"]
 	path = src/wok/plugins/ginger
 	url = https://github.com/kimchi-project/ginger.git
 	ignore = all
+	branch = master
 [submodule "src/wok/plugins/gingerbase"]
 	path = src/wok/plugins/gingerbase
 	url = https://github.com/kimchi-project/gingerbase
 	ignore = all
+	branch = master
-- 
2.5.0




More information about the Kimchi-devel mailing list