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.
    • RamblingBipedR
      RamblingBiped
      last edited by

      Atlassian's Bitbucket is another free repository.

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • RamblingBipedR
        RamblingBiped
        last edited by

        Also, this might be useful:

        https://github.com/agis/git-style-guide

        https://www.codecademy.com/learn/learn-git

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

          @ramblingbiped said in Learning Git:

          Atlassian's Bitbucket is another free repository.

          Not free like GitLab. GL is free repos, free users.

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

            BitBucket and GitHub are only free for like a single repo unless you make it public (e.g. opening your source with or without an OS license.)

            1 Reply Last reply Reply Quote 0
            • RamblingBipedR
              RamblingBiped @scottalanmiller
              last edited by

              @scottalanmiller said in Learning Git:

              @ramblingbiped said in Learning Git:

              Atlassian's Bitbucket is another free repository.

              Not free like GitLab. GL is free repos, free users.

              Yes, I understand that. Free like github.

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

                @ramblingbiped said in Learning Git:

                @scottalanmiller said in Learning Git:

                @ramblingbiped said in Learning Git:

                Atlassian's Bitbucket is another free repository.

                Not free like GitLab. GL is free repos, free users.

                Yes, I understand that. Free like github.

                LOL, which is why I mention GitLab. Really free πŸ™‚

                1 Reply Last reply Reply Quote 1
                • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post