What git setup would you use for a private repo?
-
@JaredBusch said:
@coliver said:
Can't you do that now with git? I'm pretty sure it has a local server functionality.
Can I? No clue. I have only ever used Github for personal projects or Git repos setup by others for other projects.
If I remember correctly Git by itself is a peer-to-peer software. Setting up a new server would be similar to setting up another git user.
http://www.linux-magazine.com/Online/Features/Install-Your-Own-Git-Server That may help.
-
@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.
-
@dafyre said:
I like and am currently using GitLab for this... It is kinda like GitHub... (http://www.gitlab.com).
They have install instructions for CentOS on the download page.
GitLab for Linux or GitStack for windows are two solid options.
-
@thecreativeone91 said:
@dafyre said:
I like and am currently using GitLab for this... It is kinda like GitHub... (http://www.gitlab.com).
They have install instructions for CentOS on the download page.
GitLab for Linux or GitStack for windows are two solid options.
Nice to know there's a Windows Alternative!
-
Looks like GitLab it will be then. I really would not want to setup a full windows instance just for this.
I will certainly need the web GUI portion of GitLab for certain people to review things simply.
I would use GitHub but was told the code was not allowed to be hosted publicly (understandably) and they did not want to pay for the service to have a private project. -
@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.
-
@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.