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

    Learning Git

    IT Discussion
    14
    44
    4.9k
    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.
    • A
      Alex Sage
      last edited by

      What I don't understand is how to get my workstation setup so I can commit to a repo.

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

        @aaronstuder said in Learning Git:

        What I don't understand is how to get my workstation setup so I can commit to a repo.

        Make your SSH key, make a copy of your public key (clipboard) and paste it into your profile settings.

        A 1 Reply Last reply Reply Quote 0
        • A
          Alex Sage @scottalanmiller
          last edited by

          @scottalanmiller I get that, where do I store the repo files on my local workstation? Anywhere?

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

            @aaronstuder said in Learning Git:

            @scottalanmiller I get that, where do I store the repo files on my local workstation? Anywhere?

            Sure. I use /home/scott/code and then make my repos in there. Use git clone to create the initial files to make it simple.

            A 1 Reply Last reply Reply Quote 0
            • A
              Alex Sage @scottalanmiller
              last edited by

              @scottalanmiller so Git clone basicly makes a local copy of the repo on my local computer then I can add and commit from there?

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

                @aaronstuder said in Learning Git:

                @scottalanmiller so Git clone basicly makes a local copy of the repo on my local computer then I can add and commit from there?

                Other way, use git clone to pull your repo from your host. Make the repo on the host, then git clone on your workstation to bring a copy down (even if it is empty.)

                A 1 Reply Last reply Reply Quote 0
                • A
                  Alex Sage @scottalanmiller
                  last edited by

                  @scottalanmiller worded badly via mobile. So I can use any directory I want? That’s pretty cool 🙂

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

                    @aaronstuder said in Learning Git:

                    @scottalanmiller worded badly via mobile. So I can use any directory I want? That’s pretty cool 🙂

                    Think of it like NextCloud.... it'll sync any folder that you want.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      Alex Sage @scottalanmiller
                      last edited by

                      @scottalanmiller so what stops you from using this for file storage? Do they block certain extensions? Files over a certain size?

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

                        @aaronstuder said in Learning Git:

                        @scottalanmiller so what stops you from using this for file storage? Do they block certain extensions? Files over a certain size?

                        It's just not practical for it. It's a text processing system. I think you'd find it pretty painful to use for anything else.

                        1 Reply Last reply Reply Quote 0
                        • NetworkNerdN
                          NetworkNerd
                          last edited by NetworkNerd

                          There's also a GitHub Desktop application you can use to connect to / manage / pull down code from GitHub.

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

                            @networknerd said in Learning Git:

                            There's also a GitHub Desktop application you can use to connect to / manage / pull down code from GitHub.

                            Any value to that, though? Basically all you really want to do is...

                            git add .; git commit -m "My note"; git push origin

                            That's it. A desktop app would just be in the way.

                            1 Reply Last reply Reply Quote 1
                            • QuixoticJeremyQ
                              QuixoticJeremy
                              last edited by

                              Put in another vote here for gitlab.

                              1 Reply Last reply Reply Quote 0
                              • EddieJenningsE
                                EddieJennings @Alex Sage
                                last edited by

                                @aaronstuder said in Learning Git:

                                What the best resources to learn Git?

                                Also, I am assuming GitHub to the best repository to use?

                                Thank you for making the thread I've been meaning to make for a while but never got around to doing it. 🙂

                                1 Reply Last reply Reply Quote 1
                                • ObsolesceO
                                  Obsolesce
                                  last edited by

                                  I use VS Code with GitLab.

                                  scottalanmillerS JaredBuschJ matteo nunziatiM 3 Replies Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller @Obsolesce
                                    last edited by

                                    @tim_g said in Learning Git:

                                    I use VS Code with GitLab.

                                    Same here

                                    1 Reply Last reply Reply Quote 0
                                    • stacksofplatesS
                                      stacksofplates
                                      last edited by stacksofplates

                                      I use Gitlab because of the built in runners. It's nice to have the CI/CD pipeline built directly in.

                                      Jenkins and others obviously work with Github but being able to have a local system do the testing (that's automatically kicked off) while using the hosted Gitlab is pretty awesome.

                                      I also use VS code and Atom (with the Git Plus package).

                                      1 Reply Last reply Reply Quote 1
                                      • RomoR
                                        Romo
                                        last edited by

                                        Free Plan Comparison
                                        0_1505317482670_git-providers.png

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

                                          @tim_g said in Learning Git:

                                          I use VS Code with GitLab.

                                          I need to install VS code. on my desktop. been hearing you two complement it.

                                          stacksofplatesS scottalanmillerS 2 Replies Last reply Reply Quote 1
                                          • stacksofplatesS
                                            stacksofplates @JaredBusch
                                            last edited by stacksofplates

                                            @jaredbusch said in Learning Git:

                                            @tim_g said in Learning Git:

                                            I use VS Code with GitLab.

                                            I need to install VS code. on my desktop. been hearing you two complement it.

                                            It's pretty nice. The built in Git stuff is nicer than Atom. To me it feels faster than Atom also.

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