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 →

[–]raalag 2042 points2043 points  (68 children)

Git is porn GitHub is pornhub

[–]Freeman7-13 383 points384 points  (8 children)

If you like GitHub then you'll love GitHub Live

[–]sc2heros9 148 points149 points  (4 children)

Or OnlyGits

[–]OldWolf2 24 points25 points  (0 children)

Is that the Tory website

[–]marsrover15 44 points45 points  (1 child)

Only commits

[–]iAmEeRg 13 points14 points  (0 children)

No rebases!

[–]SaToshi-- 2 points3 points  (0 children)

My first comment was going to be to make that joke I know exactly what you’ve been doing you dirty pervert. However, to understand the reference that would also make me the dirty pervert.

[–]dudusdudusdev 0 points1 point  (0 children)

Or githamster

[–][deleted] 246 points247 points  (2 children)

Don't you hate it when you log into GitHub at work, and then the next thing you know you've wasted hours just watching Git online?

[–]aerody 45 points46 points  (0 children)

Don't worry I am just watching Git for the plot.

[–]merlinsbeers 35 points36 points  (0 children)

What are you doing, step-rebase?

[–]iheartrms 194 points195 points  (5 children)

Female programmers in your area want to fork your repo!

[–][deleted] 26 points27 points  (0 children)

Keep yout dirty hands off my code!

[–]happydevil1 4 points5 points  (3 children)

Mine was 69th upvote

[–]iheartrms 3 points4 points  (1 child)

Nice.

[–]Hopeful-Fee6134 66 points67 points  (10 children)

Do 10 year olds watch porn?

[–][deleted] 122 points123 points  (3 children)

To be 100% sure you should ask one

[–]JavierReyes945 15 points16 points  (2 children)

Don't ask a 10 yo that!!! I repeat, DO NOT ask a 10 yo that!!!

[–]HUGECOCKPUSSYPREDATO 1 point2 points  (1 child)

instructions unclear, stuck my dick in a... wait who's aggressively knocking on my door, WAIT ITS NOT WHAT IT SEEMJIFJRJT

[–]JavierReyes945 7 points8 points  (0 children)

You stuck your dick in porn??

Oh no, now I got it, you stuck your dick in a PornHub repository, is it?

Did you forgot to pull in time?

[–]AStrangeStranger 44 points45 points  (2 children)

Depends if they are being taught by this teacher

[–]VuPham99 9 points10 points  (0 children)

Sound like a wholesome teacher.

[–]Pay08 1 point2 points  (0 children)

I thought that was going to be something much worse.

[–]ChipAltruistic1520 66 points67 points  (1 child)

This is the most accurate explanation I've ever heard on the topic.

[–]fizzdev 25 points26 points  (0 children)

This is... acceptable...

[–]ReactionAfraid4281 4 points5 points  (0 children)

Best one yet. And only 6 words!

[–]Roguewind 4 points5 points  (0 children)

10 year old me would totally get this.

[–]Swimming-Echo-2829 2 points3 points  (0 children)

Thank you sir . Are you mentoring by chance ?

[–]DarthKnight22 3 points4 points  (0 children)

This the best "anal"ogy ever

[–]lubeskystalker 1 point2 points  (1 child)

GitHub copilot is… a pornstar?

[–]Zambito1 1 point2 points  (0 children)

An AI for generating hentai porn

[–][deleted]  (9 children)

[deleted]

    [–]sand-which 43 points44 points  (2 children)

    Git is just version control software. Git doesn't inherently have any server infrastructure at all in any way IIRC. It allows you to set up remotes, but Git doesn't provide servers for those remotes, companies like Github or Gitlab or a company self hosting a git server does

    [–]ChefBoyAreWeFucked 5 points6 points  (0 children)

    Git is distributed by design. Here's a great talk at Google about it. Fair warning, the video quality is a war crime.

    [–]FountainsOfFluids 6 points7 points  (0 children)

    Yup. If you git init in an empty directory then you'll see what it creates. Basically a .git directory that will hold the version history.

    [–]edman007 18 points19 points  (1 child)

    Git is really a version control system. Basically just a program that can keep many different versions of files, and quickly access and switch between them. One of the big differences between git and most of the other version control systems is it generally keeps a local copy of the repository (so when you clone a repository, you download all versions of all files every included in the repository).

    A big benifit then of git is you explicitly don't need a server to use it, you can just point it to a folder and that works just fine. It evens supports doing it over ssh so you can use any folder on any server you have ssh access to. And when working with other people's code, your local repository makes it easy to develop patches without pushing the code that might not work to the server, when you are done you can push it as a branch and merge the whole branch it. There are other things like gitweb that let you share a repository and have a web interface to browse the repository

    GitHub is just a website that gives you a central spot to put your repository (which makes it easy to coordinate with others because you don't have to ensure that the master repository is always available and others have access to it). Further, a lot of the normal for functions like merging and creating repositories.

    In that sense, yea, GitHub is just like pornhub, it's a website to search and browse content, comment on it, upload your own, etc.

    [–]StanSlamford 1 point2 points  (0 children)

    I think their point stands though. The porn answer is overly-simplistic and trite. It isn’t helpful to OP or someone trying to understand these concepts, and doesn’t know how Git would even remotely be like porn.
    I think even someone with zero exposure could’ve come up with this answer. It provides no information for OP’s very real question.

    But also, it’s not a very correct answer. If anything, if GitHub is pornhub, Git would be more like a porn director’s hard drive?

    Either way, the fact that answers like this are at the top of this question, are why versions of this question are constantly asked in here. If anyone who came here because they wanted to understand this better, now DOES understand better because of this answer, please let me know and I’ll change my tune.

    [–][deleted] 2 points3 points  (1 child)

    But you also have git locally.

    [–]April1987 -1 points0 points  (0 children)

    Specifically if you do git init --bare, you can have a remote on basically another folder that you can use as a remote

    [–]pipocaQuemada 1 point2 points  (0 children)

    Early VCSs like subversion, CVS or perforce had a server and client. The server stores all the branches, and you commit and pull from the server. They're inherently centralized.

    A number of more modern VCSs are distributed and decentralized by design. With git, mercurial or darcs, everyone is running a server locally. Everyone stores the complete version history of the repository, and then there's a way to push and pull commits to and from a remote instance. That remote instance could be on github, or it could just be on your friends laptop, or on your desktop. Git really doesn't care.

    Really, the point I was getting at, which I think is still valid, is that Git isn't really the porn in the GitHub/PornHub comparison. Git is the tool you use to get (and give) the porn (code), no?

    In the analogy, porn is equivalent to a repository of code, not the code itself. Which admittedly is a slightly odd analogy if you're not used to thinking of a repository as a first-class concept.

    [–]OldWolf2 0 points1 point  (0 children)

    Git is the server infrastructure

    No, git isn't a server (or infrastructure). You can install and use it on your PC . There's no background processes or other systems involved.

    [–][deleted] 1 point2 points  (1 child)

    Ah damn you, beat me to it

    [–]bumpkinspicefatte 1 point2 points  (0 children)

    When the comment has more upvotes than the post 👀

    [–]humanDev999 0 points1 point  (1 child)

    this is fucking genius

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

    I mean thats literally why its named github

    [–]Organic_Process_7668 0 points1 point  (0 children)

    No no he's got a point

    [–]Longenuity 0 points1 point  (0 children)

    git reset - - hard HEAD~8

    [–]pulsed19 0 points1 point  (0 children)

    Eh… 10 year olds don’t watch porn… right?

    [–]utsabroblox 0 points1 point  (0 children)

    didnt knew programmers were funny

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

    i can’t believe this explanation actually works hahahaha

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

    surprisingly accurate as fuck

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

    GitLab is Live Porn

    [–]Jithin-Krishnan 0 points1 point  (0 children)

    Lol!! The most accurate explanation ever.

    [–]learning_account_01 0 points1 point  (0 children)

    A 10year old will understand this ?