Referencing External Repositories

Matt's Avatar

Matt

30 May, 2014 05:35 PM

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?

  1. Support Staff 1 Posted by Feodor Fitsner on 30 May, 2014 05:50 PM

    Feodor Fitsner's Avatar

    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. 2 Posted by Matt on 01 Jun, 2014 07:45 PM

    Matt's Avatar

    That worked perfect. Thank you!

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:44 AM.

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

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM