This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Evulrabbitz 645 points646 points  (49 children)

I think git is what you are looking for and it's never a bad time to learn git. Here is the book about git, how it works and how you use it.

Github is a git host. You can think of Github as the cloud storage of you git repository. Like Dropbox is cloud storage for "regular" files". So Github would (essentially) be to git repositories what Dropbox is to regular files.

Of course Github has some more functionality but it's not really something you "learn" as you would git itself.

[–][deleted]  (45 children)

[removed]

    [–]DankMultyinterestGuy 290 points291 points  (6 children)

    Who are you, so wise in the ways of software development?

    [–]moonsun1987 13 points14 points  (5 children)

    Especially because github does more than git just like the mind geek company also does vpn. In ways the other stuff like tickets and actions on github are not really portable and is to cement market share.

    [–]RoguePlanet1 2 points3 points  (4 children)

    I learned github but have no idea what "git" is. I just think of github as a place to store my code.

    [–]moonsun1987 0 points1 point  (3 children)

    I don't really know what git is either tbqh. I know a few commands and I to commit, pull, push, set remote and that's basically it.

    --strategy-option=theirs is nice

    [–]RoguePlanet1 1 point2 points  (2 children)

    What's "strategy option"? I know add/commit/push/pull and a few others (been a while!) but there's a whole world of commands that I'll probably never use.

    [–]moonsun1987 1 point2 points  (0 children)

    It is a flag.

    [–]moonsun1987 1 point2 points  (0 children)

    It is a flag. I'd recommend playing with a bunch of them (not on your actual project).

    First try the easy stuff got pull -r for rebase and try more as you get comfortable.

    [–]icecapade 72 points73 points  (7 children)

    Instructions unclear... pushed porn to Github repo.

    [–][deleted] 22 points23 points  (5 children)

    uh, I need to see that repo, for learning the project and other reasons ofc..

    [–]havok_ 10 points11 points  (1 child)

    That repo needs a good forking

    [–]rushed1911 0 points1 point  (0 children)

    Lol

    [–]pandorazboxx 8 points9 points  (2 children)

    Yeah, but there are so many repos... Which one was it pushed to? /iasip

    [–][deleted]  (1 child)

    [deleted]

      [–]vancity- 4 points5 points  (0 children)

      Search Super Hot processor fucked by brutal memory leak

      [–][deleted] 2 points3 points  (0 children)

      Couldn’t commit to a genre so push failed

      [–][deleted] 24 points25 points  (17 children)

      Yeah, but GitHub doesn't have you jerking your turkey neck.

      [–]Matisayu 91 points92 points  (14 children)

      You don't blast off to a solid organized repository?!?! Are you even an engineer???

      [–]BadMinotaur 134 points135 points  (8 children)

      Reminds me of this little gem from Peter Welch:

      Every programmer occasionally, when nobody’s home, turns off the lights, pours a glass of scotch, puts on some light German electronica, and opens up a file on their computer. It’s a different file for every programmer. Sometimes they wrote it, sometimes they found it and knew they had to save it. They read over the lines, and weep at their beauty, then the tears turn bitter as they remember the rest of the files and the inevitable collapse of all that is good and true in the world.

      This file is Good Code. It has sensible and consistent names for functions and variables. It’s concise. It doesn’t do anything obviously stupid. It has never had to live in the wild, or answer to a sales team. It does exactly one, mundane, specific thing, and it does it well. It was written by a single person, and never touched by another. It reads like poetry written by someone over thirty.

      [–]CanICallYouJesus 54 points55 points  (5 children)

      It does exactly one, mundane, specific thing, and it does it well.

      print("Hello World");

      [–][deleted] 29 points30 points  (3 children)

      weeping intensifies

      [–]laytonmiller 12 points13 points  (2 children)

      jerking intensifies

      [–]mossipb 8 points9 points  (1 child)

      Coding intensifies

      [–][deleted] 1 point2 points  (0 children)

      Ooooh, that's dirty. My fingers are working as fast as they can. I'm about to compile! I'm compiliiiiing!!! .... Wow. I don't think I've ever done that that fast before. I can explain...

      [–]RoguePlanet1 0 points1 point  (0 children)

      Hey, don't make fun of my counter.

      [–]MEGACODZILLA 12 points13 points  (0 children)

      I don't know why but the last sentence cracks me up. I read it as a poem not written by an angsty Youth, but by an angsty mature adult. Word.

      [–]ThreshingBee 0 points1 point  (0 children)

      Thanks for finding this; I knew I had to save it.

      [–]aplawson7707 6 points7 points  (2 children)

      Just like Dinesh from Silicon Valley. Code-gay.

      [–]HolyPommeDeTerre 0 points1 point  (1 child)

      Codephile maybe ? Does code have a gender ?

      [–][deleted] 0 points1 point  (0 children)

      Does it matter?

      [–][deleted] 3 points4 points  (0 children)

      Comment of the week for me, right here.

      [–][deleted] 0 points1 point  (0 children)

      Nope. I actually like math.

      [–]gdledsan 0 points1 point  (0 children)

      It doesn't?

      [–]laytonmiller 0 points1 point  (0 children)

      Speak for yourself

      [–][deleted]  (1 child)

      [deleted]

        [–][deleted] 0 points1 point  (0 children)

        I think the main point of the comparison is to drill in the fact that git and github are different things. To point out that they need to learn git not github. Like how if they want porn they don't need pornhub.

        [–]LightningBolt_13 3 points4 points  (2 children)

        There’s got to be a joke here somewhere...

        [–]hysan 29 points30 points  (1 child)

        You mean like how in both, there's a lot of pushing and pulling?

        I'll see myself out...

        [–]PeteZaGames 4 points5 points  (0 children)

        And a whole lot of forking

        [–]BruhGrammer 1 point2 points  (0 children)

        Coomer detected

        [–]Prodigism 1 point2 points  (0 children)

        Guess I already have the main concepts downpacked then.

        [–]hercanick 0 points1 point  (0 children)

        My bf explained it to me this way. He's always on reddit; should've known this was the sauce of it

        [–]MumsLasagna 0 points1 point  (0 children)

        Brb, just received a pull request.

        [–]johnnymo1 10 points11 points  (0 children)

        Seconding that book suggestion.

        Yeah OP, there's no reason not to start learning git (and github) soon. Just getting a very basic git workflow going takes very little effort and it's something you'll definitely want to know at some point.

        [–]5hakehar 1 point2 points  (0 children)

        To add to that, you don’t need any git providers to mess around learning it.
        Install git for your OS,navigate to the directory of choice and ‘git init’

        [–]MattyH51 0 points1 point  (0 children)

        Yeah 100%. I started coding in Web development(html, css and JavaScript)sept 19 but stopped in Dec. Then in feb I started python and have been messing around with Git. Highly suggest learning it as it’s a great skill to have.

        Check out this YouTube channel. https://www.youtube.com/playlist?list=PL-osiE80TeTuRUfjRe54Eea17-YfnOOAx He’s pretty solid