this post was submitted on 03 Mar 2024
1092 points (97.8% liked)

Programmer Humor

19901 readers
1614 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] psivchaz@reddthat.com -2 points 10 months ago (2 children)

All these comments and no one is going to point out that this is invalid?

The git stage and git commit don't have any terminator, so it's all one "command" and will fail. Then there's a single & between git commit and git push, so it would run in parallel, so it would also fail.

Also, don't git stage . people. Or at least do a git status before to make sure you didn't stage file-with-all-the-production-secrets

[–] themusicman@lemmy.world 14 points 10 months ago

The comma and ampersand are plain English, not one big command

[–] SpaceCowboy@lemmy.ca 5 points 10 months ago

Pffft... all of my api keys are open source. Having more eyes on them will make them more secure!