Say I have Project1 in a git repo. Within Project1 there is a subfolder that I want to include in Project1+ (Project2, Project3, etc.) By “include” I don’t mean copy-and-paste. I want a reference to Project1 so that if I make changes to Project1 I can automatically integrate those changes in Projects1+. Further, I want […]
Is there a way to change the submodule path to pull from a different repository during build time?
When I roll back my git working directory to a particular commit, the submodule shows as “modified.” The submodule is checked in and has no modified files, but it’s at different commit than it needs to be. How can I find out the name/hash of the correct commit?
I have the following setup, I am working on a project project with the submodule submodule. Whenever I push changes to github it sends a post request to update.php on the server. This php file executes a git command. Without submodules I can just do a git pull and everything is fine but with submodules […]
I am looking for a solution that would allow me to use subrepositories that are getting not the HEAD and instead a specific RELEASE tag, or if possible the latest tag. Is this possible, how should I implement this? Did anyone implemented this?
Currently I have a few submodules in my parent project. How can I tell if one of the submodules has recently changed and I need to do a git submodule foreach git pull origin master
I have raised a similar question before yet after doing some research and bashing my head for a long time , I have concluded that I need some more guidance. We have currently migrated to GIT from SVN and biggest impact was to our CI Server. Since you can’t checkout sub-directories in GIT. Our repository […]
For example, I have Magento project: app/design/frontend/base/ app/design/frontend/default/ errors/default/ errors/local.xml.sample … skin/frontend/base/ skin/frontend/default/ … … and external Theme for it: app/design/frontend/[theme name]/default/ errors/[theme name]/ errors/local.xml.[theme name] skin/frontend/[theme name]/default/ README.[theme name] But when I try to add theme`s repository as submodule to the root of project … $ git submodule add -b theme_name git://theme_repository.git . ” […]
How can you remove references to submodules in a git repo which no longer uses submodules (merged them) so that bazaar can import it? bzr: ERROR: The repository you are fetching from contains submodules, which are not yet supported. It should be possible according to jelmer: https://bugs.launchpad.net/bzr/+bug/402814/comments/43 There is no way to tell the import […]
There is a A project and the A project has a submodule S A |-S |-B |-C A repo: email@example.com:benjamin/A.git S repo: firstname.lastname@example.org:owner/S.git To contribute some bug fix, I forked the A repository and cloned it. $ git clone email@example.com:benjamin/A.git and then to download a submodule S I commanded $ git submodule init $ git […]