Hi Team,
I want to create a sub repo in the same repository and want to access in other project. Normally will use submodule for a repo, but is submodule will work for the subrepo also. If it is not please provide the solution for sub repo creation and access. For example I have a project A and project B in side Project B i have a temp Repo,now i want to create example repo inside the temp Repo and example Repo can be accessible from ProjectA if i create submoule for temp Repo.
Thanks in advance.
Why not use 2 repositories and have cross repository dependencies?
Indeed. Note that there really isn't such a thing in Git as a "repository inside a repository". Git submodules are a solution you can use. They work by setting a commit from a separate repository that gets linked to as a directory in the current repository. Bitbucket Server's UI supports this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.