Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Linking Git repo to project on a different repo

I'm wondering how I would link an existing repository to another git repo. I have seen it with Kirby linking to an existing Kirby repo before.

You can see an example here -> Kirby Git Repo

I just want to link an existing framework I have made into my other projects, so when I update the framework it updates across the other projects.

How is this done?

1 Answer

Karolin Rafalski
Karolin Rafalski
11,368 Points

I don't know if this is exactly what you are looking for, but you can add more remotes to a repo, which would let you push code up to more than one place.

https://help.github.com/articles/adding-a-remote/