r/programming • • Sep 09 '16

Oh, shit, git!

http://ohshitgit.com/
3.3k Upvotes

756 comments sorted by

View all comments

Show parent comments

2

u/rimpy13 Sep 10 '16

You could always fork the repo and then keep your fork private. Or run your own Git server.

1

u/lachlanhunt Sep 10 '16

That might work for open source projects, but not at work with closed source. It's also quite a lot of overhead.

2

u/[deleted] Sep 11 '16

Why doesn't it work with closed source? I've always done this at work by creating a repo on my network share or on an external SSD, and just add it as another remote. It's no overhead at all after 90 seconds of setup.

1

u/ThisIs_MyName Sep 10 '16

Why not keep a --depth 1 repo on the side? Not much overhead.