Giter Club home page Giter Club logo

Comments (4)

meejah avatar meejah commented on July 23, 2024

I would "git init" a new repo for the public stuff, and developers may add the private stuff as a separate remote if/when you need to merge things in or whatever (add it as "private" or "danger" or something ;)

Doing some basic sanitizing on the private one seems like a good idea as well ("git filter-branch" being your best friend here -- and the tree-filter is a fast way to delete things).

If you remember to always "git merge --squash" when bringing things from private -> public you will reduce your chances of accidentally bringing in a bunch of commits from private that you didn't mean to. "--squash" always makes a new commit.

from mobile.

orta avatar orta commented on July 23, 2024

Thanks, another idea I had around this was that the main repo could be public, but that our personal forks e.g. orta/eigen or 1aurabrown/eigen are private. Thus a private few PRs could go internal within a fork, and then get released to artsy/eigen & the world when whatever constraints have kept it private are finished.

from mobile.

chriseidhof avatar chriseidhof commented on July 23, 2024

For objc.io, we have an articles repo and an articles-private. This works really well. But neither one contains "private" information, just things that are not open to the public yet.

from mobile.

orta avatar orta commented on July 23, 2024

Done!

https://github.com/artsy/eigen

from mobile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.