Is there a way to fork a public git repo and track them within a private repo? The use case here is to have one private repo while maintaining the ability to pull and merge from the public repo.
Example Directory layout:
myPrivateProject:
- workDir1
- workDir2
- publicRepoDir (cloned from some public repo)
您正在寻找子树合并 。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.