Referencing External Repositories
I have 2 repositories in Github, one has shared logic and the other is the main project. How do I pull the shared logic repository so my main project will build?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 30 May, 2014 05:50 PM
Hi Matt,
If it's a public repository you can just use
git clone
to fetch it during the build. To fetch private repository you can generate personal access token on GitHub and use it instead of credentials.Another option is to add second repository as a sub-module to the main one.
2 Posted by Matt on 01 Jun, 2014 07:45 PM
That worked perfect. Thank you!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:44 AM.