ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    What git setup would you use for a private repo?

    IT Discussion
    git
    6
    23
    3.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • coliverC
      coliver
      last edited by

      Can't you do that now with git? I'm pretty sure it has a local server functionality.

      JaredBuschJ 1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch @coliver
        last edited by

        @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.

        coliverC 1 Reply Last reply Reply Quote 0
        • dafyreD
          dafyre
          last edited by

          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. 🙂

          ? 1 Reply Last reply Reply Quote 0
          • dafyreD
            dafyre
            last edited by

            Git alone is good for local stuff... If you want GitHub type functionality, use GitLab...

            coliverC 1 Reply Last reply Reply Quote 0
            • coliverC
              coliver @JaredBusch
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • coliverC
                coliver @dafyre
                last edited by

                @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.

                dafyreD 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @dafyre
                  last edited by

                  @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.

                  dafyreD 1 Reply Last reply Reply Quote 0
                  • dafyreD
                    dafyre @A Former User
                    last edited by

                    @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!

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • dafyreD
                        dafyre @coliver
                        last edited by

                        @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.

                        JaredBuschJ coliverC 2 Replies Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @dafyre
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • coliverC
                            coliver @dafyre
                            last edited by

                            @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.

                            dafyreD JaredBuschJ 2 Replies Last reply Reply Quote 1
                            • dafyreD
                              dafyre @coliver
                              last edited by dafyre

                              @coliver Yes! This is a good idea! Especially for those whoopsie moments when you really snafu a script that worked yesterday, lol.

                              coliverC 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @coliver
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 1
                                • coliverC
                                  coliver @dafyre
                                  last edited by

                                  @dafyre said:

                                  @coliver Yes! This is a good idea! Especially for those whoopsie moments when you really snafu a script that worked yesterday, lol.

                                  Plus... it would be a one more project to have under the belt.

                                  1 Reply Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    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.

                                    1 Reply Last reply Reply Quote 2
                                    • tonyshowoffT
                                      tonyshowoff
                                      last edited by tonyshowoff

                                      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

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @tonyshowoff
                                        last edited by

                                        @tonyshowoff said:

                                        Stash/Bitbucket are your hosted options,

                                        Stash is local. You can run it on Digital Ocean.

                                        tonyshowoffT 1 Reply Last reply Reply Quote 0
                                        • tonyshowoffT
                                          tonyshowoff @scottalanmiller
                                          last edited by

                                          @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.

                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            I use GitHub at work and BitBucket at home for myself. Both are good, I like Atlassian a lot.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post