Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 819477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:18:59+00:00 2026-05-15T02:18:59+00:00

I have a local git repository a central repo at github. I’m working on

  • 0

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 in an entirely separate repo, is it possible for me to simply link directly to my friend’s 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)!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:18:59+00:00Added an answer on May 15, 2026 at 2:18 am

    As mentioned in git submodules, true nature, this is possible by declaring in widgets/plugins/awesome/hiscode a submodule referring to http://github.com/hiscode/awesome.

    You can then regularly pull from that submodule his latest changes in order to update it, provided you then commit again from the widgets/ directory (which is your “main” project, that is the project which contains the submodule).
    That way your main project will record the new SHA1 of the updated submodules.

    You can even directly develop in that submodule, pushing directly to http://github.com/mycode/widgets/plugins/hiscode (while still committing widget, again to record the new SHA1).
    But you need to remember to checkout a branch first within that submodule, because a “submodule update” always initialize/update it as a detached head.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a project and I have a central git repo. This
I have created a iPhone project with option Create local git repository for this
I currently have a local Git repository, which I push to a Github repository.
Totally new to Capistrano. I have a local git repository that I want to
I have a local git repo, and I have a remote git repo. What
I accidentally deleted a few files from my local git repo. I have not
I have a git project which is only local, and only has a master
So if I have a Git repo on my local machine and I send
I'm working on a project with couple others. We all have local copies of
I have a local Git repository setup on my laptop. I would like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.