Sharing code between two different git projects

Posted by ripper234 on Stack Overflow See other posts from Stack Overflow or by ripper234
Published on 2010-04-03T12:24:57Z Indexed on 2010/04/03 12:33 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

I have two different .Net projects, hosted on github.

I would like to create a shared "commons" library for the two projects.

How should I structure my repository to facilitate this sharing?

Ideally, a change in this common library in one project could easily be pushed into the other project. I prefer to keep the code itself editable from the two projects (within Visual Studio), and not include it as a library. Are there best practices for this?

© Stack Overflow or respective owner

Related posts about git

Related posts about visual-studio