How get content from other repos ?
See original GitHub issueHi,
I try to develop one plateform with Nuxt for get in on place docs from multiple repositories.
But I can’t get the content from outside content
folder, someone has one solution for get content outside the default folder ?
Thank you.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12 (3 by maintainers)
Top Results From Across the Web
version control - Git pull from another repository
Issue the following command in your Acme repo. It adds a new remote repository named upstream that points to the Generic repo.
Read more >Git Get One File From Another Repo
First copy the URL of the remote repo you want to get the file from, in this case, the amigo/rxjsx . Then fetch...
Read more >Referencing One Git Repository from Another
To do this, run the git subtree add command. This command will embed the master branch of Tim Pope's VIM-sensible in your dotfiles....
Read more >How to Mirror (Copy) an Entire Existing Git Repository Into ...
OK, slightly different process in that you basically just have to add a step. You first have to get the original Git repository...
Read more >Accessing a File in a GitHub Repository - YouTube
In this video we look at how to use files that are in a GitHub repository Looking for content on a particular topic?...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am also looking for this but didn’t get good solution
You can add the other repo as submodule by using
git submodule add link-to-your-repo path-to-target-folder
. I did that recently on my project. For example, to add yourcontent
repo to the current repo as submodule, just do:git submodule add <link-to-content-repo> content
The folder
content
in your repo will appear as a reference to the target repo, and locally it will have all the files in that repo (assume you have sufficient permission). On Github it will appear as a reference folder and not clickable.To update submodule with the latest commit from your repo, run
or
https://github.blog/2016-02-01-working-with-submodules/
Hope it helps 😃