{"_id":"590a04fbed80861900cbc7d9","user":"55b2d5626862a10d00887af9","parentDoc":null,"version":{"_id":"590a04f2ed80861900cbc737","project":"55b2d5baa74a380d00e290c4","__v":4,"createdAt":"2017-05-03T16:27:30.085Z","releaseDate":"2017-05-03T16:27:30.085Z","categories":["590a04f3ed80861900cbc738","590a04f3ed80861900cbc739","590a04f3ed80861900cbc73a","590a04f3ed80861900cbc73b","590a04f3ed80861900cbc73c","590a04f3ed80861900cbc73d","590a04f3ed80861900cbc73e","590a04f3ed80861900cbc73f","590a04f3ed80861900cbc740","590a04f3ed80861900cbc741","590a04f3ed80861900cbc742","590a04f3ed80861900cbc743","590a04f3ed80861900cbc744","590a04f3ed80861900cbc745","590a04f3ed80861900cbc746","590a04f3ed80861900cbc747","590a04f3ed80861900cbc748","590a04f3ed80861900cbc749","590a04f3ed80861900cbc74a","590a04f3ed80861900cbc74b","590a04f3ed80861900cbc74c","590a04f3ed80861900cbc74d","59124949de13f61900336a7a","5914b04e7c2c552d008b7104","5914b47242c6a22300b9dc20"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"7.0.0","version":"7"},"__v":0,"project":"55b2d5baa74a380d00e290c4","category":{"_id":"590a04f3ed80861900cbc749","version":"590a04f2ed80861900cbc737","__v":0,"project":"55b2d5baa74a380d00e290c4","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-30T18:30:36.390Z","from_sync":false,"order":19,"slug":"best-practices","title":"Managing App Dependencies"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-30T18:43:56.462Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"Git Submodules are a way to manage your App's dependencies. In order for buddybuild to build your App, we need access to all your submodules in your source tree. We'll automatically use the Git credentials associated with your account.\n\nIf your repo contains a `.gitmodules` file, then buddybuild will clone all of those submodules automatically. In other words, there's no need to explicitly run `git submodule update --init --recursive` in a custom post-clone script.\n\nAny private submodules that require additional credentials that are not in buddybuild will not be accessible during the cloud build. So ensure that all your private submodules are accessible using your git user identities known to buddybuild.","excerpt":"","slug":"submodules","type":"basic","title":"Submodules"}
Git Submodules are a way to manage your App's dependencies. In order for buddybuild to build your App, we need access to all your submodules in your source tree. We'll automatically use the Git credentials associated with your account. If your repo contains a `.gitmodules` file, then buddybuild will clone all of those submodules automatically. In other words, there's no need to explicitly run `git submodule update --init --recursive` in a custom post-clone script. Any private submodules that require additional credentials that are not in buddybuild will not be accessible during the cloud build. So ensure that all your private submodules are accessible using your git user identities known to buddybuild.