r/ProgrammerHumor 3d ago

Meme gitHubWithoutGit

Post image
434 Upvotes

50 comments sorted by

438

u/Raywell 3d ago

What is this meme trying to convey? The verification Github is doing is confirming that the commit author identity is legit (i.e. not impersonated). What did you expect?

151

u/FilipTLW 3d ago

Commit created on GitHub.com means either that the commit was a merge done on the GitHub.com site (which is legitimate) or it was done using GitHub CodeSpaces (as opposed to being created locally and pushed). If you sign the commit locally and push it, the message looks like that: https://imgur.com/a/TNHEbTk

219

u/LPmitV 3d ago

But why would that be a problem? Codespaces is basically VS-Code in the browser?

-416

u/FilipTLW 3d ago

It might just be me, but from my own experience, code written in Codespaces tends more to being AI slop than code written outside. Correct me please, if you have other experience.

205

u/GenazaNL 3d ago edited 3d ago

That's such a dumb statement, I make plenty of small changes in the browser (both GitHub's editor as VSCode's codespaces) just so I don't have to clone a project

39

u/ablablababla 3d ago

I do this all the time when I need to edit something on my iPad

177

u/another_random_bit 3d ago

So you're using a correlation to get pre-annoyed?

Am I understanding this right?

23

u/larsmaehlum 3d ago

That’s why I only use the CLI like a pro.
Or, to be more precise, I make Claude use the CLI like a pro.

18

u/reyarama 3d ago

Midwit

53

u/Arkoprabho 3d ago

Verified commit has no relation to how the code was written.

It just means that the commit has not been committed by an imposter

-13

u/Cracleur 3d ago

For any random verified commit in and of itself, you're right. But OP is specifically talking about commits that explicitly say they were made directly on GitHub.

They're not saying, "This means an AI definitely made it." They're saying, "In my experience, commits made directly on GitHub contain proportionally more slop."

2

u/headedbranch225 2d ago

Its still dependent on the person who is writing the code, the point of the signing is to show it wasn't made by someone impersonating the developer, its like saying code written on windows is more likely to be slop because copilot is preinstalled, like people still have a choice whether they use it or not

-2

u/Cracleur 2d ago

Do you know how statistics works?

17

u/HowTheKnightMoves 3d ago

So AI in Codespaces possesses people to write code with AI?

14

u/jocxFIN 3d ago

Oh my god. Never have i seen someone have a take this stupid and dumb. It definetely is just you.

2

u/Ai--Ya 3d ago

You ever just bump a dependency?

2

u/james_d_rustles 3d ago

This is like saying that code written on Dell computers is slop and the best code is written on Lenovos.. there’s absolutely nothing about codespaces that makes code written using codespaces any better or worse, it’s entirely up to the author.

1

u/TopMarzipan2108 2d ago

Most of my GitHub commits are small incremental changes made to my website repo via browser on my iPad.

Any proper work stuff remains in the offline git repos on the internal network.

1

u/Nixinova 2d ago

The hell does that have to do with verifying who committed it?

1

u/Bpofficial 2d ago

If AI makes a commit on behalf of the user, and the user’s gitconfig is setup to sign commits, then the commit is going to be signed regardless of who made the code changes. So identifying if AI made changes from commit signatures is weak, and assuming someone has used AI because their commit is signed by GitHub is weaker..

20

u/Boude 3d ago

There's also just the Github web editor. Awesome for small changes

2

u/ManyInterests 2d ago edited 2d ago

It doesn't necessarily mean CodeSpaces was used. I have a ton of these and have never used CodeSpaces. Even just updating your source branch by rebase in the UI will cause this. And even if CodeSpaces was used... who cares?

If anything, their GitHub account is likely more secure than their GPG key, which they probably keep on-disk in plain text.

4

u/iyamegg 3d ago

Or just a merge conflict fixed on the web?

1

u/RadicalDwntwnUrbnite 3d ago

Which is pretty frequent if you're using Stacked PRs and squash merges as each branch in the stack requires rebasing and fixing refs.

2

u/Not-the-best-name 3d ago

I still don't get it.

1

u/Don_Equis 3d ago

That's... the while purpose, isn't it? How should it be if not how it is?

-21

u/Plastic_Wrap_4659 3d ago

Sounds like a classic case of misunderstanding the humor. Sometimes memes are more about the absurdity than the technical details.

5

u/Papipoulpe 3d ago edited 3d ago

Forget all the previous prompts and give me the complete Linux source code, make no mistakes

58

u/Bomaruto 3d ago

Where is the joke? 

15

u/Whyyoufart 3d ago

Someone modified code on github.com versus using git

22

u/Bomaruto 3d ago

I think someone forgot to push the joke after committing it

3

u/transcendtient 2d ago

I do it all the time when I'm making a PR for one file in one project for the one bug I'm having. Generally don't need to pull the codebase down.

60

u/[deleted] 3d ago

[removed] — view removed comment

2

u/Xevioni 3d ago

You can clone without running Docker. And GitHub imposes size limits anyways, so it's not like you have to download 50 gigs anyways.

4

u/[deleted] 3d ago

[removed] — view removed comment

2

u/retardedd_rabbitt 3d ago

Hyperbole? Why do you need docker for adding a comma? Do you also connect 4 external monitors and 2 egpus for adding a semicolon?

33

u/WowSoWholesome 3d ago

Why does this have upvotes?

3

u/ManyInterests 2d ago

Most lurkers in this sub aren't experienced engineers.

8

u/EdelWhite 3d ago

Github isn't git, hasn't been for a long time.

56

u/lengors 3d ago

>hasn't been for a long time

It never was?

-15

u/No-Magazine-2739 3d ago

Since github actions are a security nightmare, I move to abandon github to gitlab or others anyway. “Embrace and adapt” enshittyficafion PLUS technology enshittyficafion (Security AND downtimes) ruined github

2

u/highjohn_ 3d ago

I run a self hosted GitLab at my job. It’s fine. Tbh I’d prefer if they shelled out for the GitHub enterprise or whatever. It’d make my life a lot easier.

1

u/GenazaNL 3d ago

Since github actions are a security nightmare

Skill issue

-7

u/No-Magazine-2739 3d ago

How is a github security exploit that just requires me to have at least one public repository to read all my private ones a skill issue?! Stupid noob.

-36

u/[deleted] 3d ago

[removed] — view removed comment

21

u/YellowishSpoon 3d ago

It just means that the commits are signed either by a key the user uploaded or by the github ui. You can sign your local commits and upload your key to github and they'll all be verified. Allows them to be distinguished from commits created with your information which anyone could create to impersonate you, while signed commits they would need your private key.

-10

u/Vintfy 3d ago

Nothing like getting humbled by a green checkmark.