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 8324729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:10:42+00:00 2026-06-09T00:10:42+00:00

I have a repository that has a directory for each component, such as Android

  • 0

I have a repository that has a directory for each component, such as Android vs. iPhone vs. webapp, etc. I want to push the webapp up to Heroku, but I don’t want to rework my directory structure.

In essence, what I want to do is push only a portion of my tree up to Heroku. Is this possible?

  • 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-06-09T00:10:44+00:00Added an answer on June 9, 2026 at 12:10 am

    So, the ideal way to organize your application would be via git submodules (see: https://devcenter.heroku.com/articles/git). This way, you could have your main application structured like:

    proj
    ├── android
    └── iphone
    

    Where android and iphone each have their own Git repository, and are simply git submodules.

    If you’d like a good introduction to Git submodules, you should check this out: http://git-scm.com/book/en/Git-Tools-Submodules

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

Sidebar

Related Questions

I have a SVN repository that has stuff from Bin directory ( .exe ,
I have a Git repository that contains a bunch of top-level maven projects (each
I have a CENTRAL bare repository that has three developer repositories pulling and pushing
I have a clone of another python project (that has a setup.py etc.) in
I have a repository that has the following directories: branches tags trunk The trunk
I have a 'super-repository' that has a submodule that is essentially a fork of
So I have a repository for basically each entity but my model has a
I have a git repo that has a docs directory where I keep markdown
I have a repository that looks something like this: foo/ subrepo/ a_file_in_subrepo another.ext unrelated_file
I have a mercurial repository that is not accessible by Http. I can't figure

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.