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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:14:02+00:00 2026-05-22T17:14:02+00:00

there are similar questions here in stackoverflow, but none is exactly what I’m going

  • 0

there are similar questions here in stackoverflow, but none is exactly what I’m going to ask, at least none I could find.

I’m starting an OSS project, and I want to share it publicly on github. But I also want to have a private remote repo in a server of mine. The public repo is for the public version of the project, and the private repo is for an internal version, not ready for release. Obviously the public repo will always be a possibly old version of what’s in the private, and stuff in the private will not be pushed to public until they’re ready.

I searched over the net and I found some guys who came up with a workflow very similar to what I want. This is the link to the blog post where they explain everything: http://www.braintreepayments.com/devblog/our-git-workflow

I like everything about it, except for the totally squashed commits that go into the public repo on github. I also dislike a bit the part where, after merging into public, they have to re-merge everything back into master and release branches, even though, as they positively assert, there are no real changes to make there.

My question is, is it really bad to have a public repo history that’s just a series of squashed commits that has lost all the details of the logical changes within it? It seems unnatural to me and I have not seen this a lot, but maybe it’s not that bad, or else I can adopt this workflow without the --squash parameter.

Also, what about the phase of re-merging back from github_master to the master and release branches? I guess they need it because of the squashed commits. If I decide to not squash, then I think this is not needed, but I’m not sure.

Or else, can anyone suggest a different way to do this? Take into account that I would also possibly want to accept contributions from other people if someone forks my github repo.

  • 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-22T17:14:03+00:00Added an answer on May 22, 2026 at 5:14 pm

    If you simply don’t want the unreleased changes visible until they’re released, and don’t mind the intermediate commits becoming visible once they are released, then this is fairly simple. You can just treat your private branch as … well, an ordinary branch. Just make sure the private branch name doesn’t exist on github (but does exist in the private repo), and the default push settings should take care of things.

    If you do want to hide history, though, well, that’s what that squash-based workflow is all about. In this case, if you do merge external branches, it would be best to avoid squashing their commits.

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

Sidebar

Related Questions

There are similar questions, but none answers what I really need. I actually don't
I realize there are similar questions on this topic, but I still cannot find
I know there is plenty of question answered over here https://stackoverflow.com/questions/tagged/youtube+regex , but not
I know you answered a similar question on ICS here: https://stackoverflow.com/a/8320504 But there is
I know that on stackoverflow there are many similar questions but mine is a
There's a similar question on stackoverflow , but I wanted to ask it again
Admittedly, there are similar questions lying around on Stack Overflow, but it seems none
There is a similar question here but it only covers some of the issues
I know there is a very similar question here but I was hoping to
There seems to be a similar question to this on here but with the

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.