Git Use Remote Source Durring Push

Posted by ThinkBohemian on Stack Overflow See other posts from Stack Overflow or by ThinkBohemian
Published on 2010-05-28T02:09:56Z Indexed on 2010/05/28 4:01 UTC
Read the original article Hit count: 251

Filed under:
|
|

I have a local git repository a "central" repo at github. I'm working on a part of a project, while a friend is working on a related piece that is its entirely seperate repo, is it possible for me to simply link directly to my friends repo?

For example, the app is called widgets. I have all my code in widgets/app/mycode and my friend is writing code that goes into widgets/plugins/awesome/hiscode.

I want to be able to always have http://github.com/mycode/widgets/plugins/hiscode to be a direct link or clone to http://github.com/hiscode/awesome ?

It could be possible i'm missing something basic in my question or knowledge of git, if so please ask, and i'll be happy to try to fill in the blanks.

I am deploying to my production site via capistrano, so maybe a script of some kind may be easier?? I don't know (that's why i'm posting)!!

© Stack Overflow or respective owner

Related posts about git

Related posts about github