What git setup would you use for a private repo?
-
@coliver Yes! This is a good idea! Especially for those whoopsie moments when you really snafu a script that worked yesterday, lol.
-
@coliver said:
Thinking about it... probably wouldn't be a bad idea to use a repo system for admin scripts too.
I keep meaning to do this and just never have the time to get it done.
-
-
Check out Atlassian's Stash. It is their on premises, free for ten users (or $10, something like that) GIT repo system. Basically your own copy of Bitbucket. Runs on any platform you want. I've deployed it on Linux. Very powerful, much more than just Git.
-
Stash/Bitbucket are your hosted options, basically, as @scottalanmiller mentioned, however, you can do this with git pretty simply too... I was about to write out instructions, but just so I don't forget anything, here's a good tutorial:
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-private-git-server-on-a-vps
I also found this pretty detailed tutorial:
http://git-scm.com/book/en/v2/Git-on-the-Server-Getting-Git-on-a-Server
-
@tonyshowoff said:
Stash/Bitbucket are your hosted options,
Stash is local. You can run it on Digital Ocean.
-
@scottalanmiller said:
@tonyshowoff said:
Stash/Bitbucket are your hosted options,
Stash is local. You can run it on Digital Ocean.
Yeah, I grouped those together, but yes stash is local, bitbucket is not. I mean it as hosted as you can run it else where. Really bad misnomer on my part, but I certainly know the difference. We used bitbucket a while back for a few things, but not anymore, it's a lot like github, and github has private repos as well, but at a price.
-
I use GitHub at work and BitBucket at home for myself. Both are good, I like Atlassian a lot.
-
Yeah Atlassian makes some great products, but we've been trying to implement similar things in our own products, but it's a lot to catch up on. I never want to (try to) directly compete with them, because I think they've definitely got a leg up on us in that regard, but having at least some of the same features is useful to us, and there by potentially useful to customers.
-
It turned out, completely by coincidence, that my office in San Francisco is right by them. So I walk past them sometimes.