What git setup would you use for a private repo?
-
@dafyre said:
I should correct myself here... The git command line can to both local, and remote repositories... Tools like TortoiseGit and such make connecting up with GitLab /GitHub type places much easier...
But if you really want to, it can all be done form the command line.Yeah, I am not worried about the end users. They will mostly be using Git for Windows or TortoiseGit. I was jsut wanting to have a centralized GUI for the repo.
-
@dafyre said:
@coliver said:
@dafyre said:
Git alone is good for local stuff... If you want GitHub type functionality, use GitLab...
Ah got it. That is good to know.
I should correct myself here... The git command line can to both local, and remote repositories... Tools like TortoiseGit and such make connecting up with GitLab /GitHub type places much easier...
But if you really want to, it can all be done form the command line.
Thanks for the clarification. I've played with git a bit, but I don't generally develop software. Thinking about it... probably wouldn't be a bad idea to use a repo system for admin scripts too.
-
@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.