programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

CJOtheReal, in Always

Bugs come out at night the most, so its just natural to hunt them in the dark.

Pacmanlives, (edited ) in Manager: This task only takes 30 minutes. Why did it take you the whole day?

git commit -m “changed somethings “

git push origin master

jelloeater85,
@jelloeater85@lemmy.world avatar

Do you always have to do origin master? I’ve seen it where sometimes just git push works and other times not.

Meowoem,

I think it depends what branch your local version of the repo is set to. If you’re already in master then it’ll push there, if you’re in a testing branch then you can push it straight to master instead by telling it to

jelloeater85,
@jelloeater85@lemmy.world avatar

I just meant it not auto creating a new matching named branch.

zcoyle,

where it Just Works, the branch is set up to track a remote branch

git-scm.com/book/…/Git-Branching-Remote-Branches

Valmond,

push origin your/branch

Pushes, you guessed it, your/branch!

Head is usually your checked out working branch if you’re not in a headless state, right?

sloppy_diffuser,
adrian783,

uh in any actual company you almost never push to origin master. so I think it’s a joke.

Valmond, (edited )

Depends on the configuration right?

You can work on your branch and then push that to integration for example.

I mean you’re not working on your local master/main branch right?

MajorHavoc,

Not with that attitude! /s

jelloeater85,
@jelloeater85@lemmy.world avatar

Force push Fridays!

TheUncannyObserver,

That’s part of the joke, I think. If it’s a repo more than just you use, you would almost never push directly to the main branch.

MajorHavoc,

You forgot this –force flag.

Valmond,

I’m too lazy, I use -f

NeverNudeNo13, in When rubber duck debugging just doesn't cut it.

I mean you could always substitute a witch if you are unable to source the live duck…

NounsAndWords, in Revisiting code I wrote last year

Considering last year was six days ago…I agree.

0x4E4F, in Rust project startup kit
@0x4E4F@sh.itjust.works avatar

Well, that escalated rather quickly.

lurch, in When you forget to set a boundary conditions in your logic

Did you live on a very fast spaceship maybe?

… or did you travel back to the start of 2023 multiple times, trying to fix the world? It would explain a lot of things.

bleistift2, in When you forget to set a boundary conditions in your logic

Frequent flyer?

9point6, in When you forget to set a boundary conditions in your logic

More days per day

hypnotic_nerd, in Rust project startup kit
@hypnotic_nerd@programming.dev avatar

Very small projects 😂 after mastering it try building whooping to-do app in rust!

sirico, in Rust project startup kit
@sirico@feddit.uk avatar

Let me on the Linux kernel irq I can redo the whole thing!

CaptKoala, in Revisiting code I wrote last year

This is me with code I write now

umbrella, in Revisiting code I wrote last year
@umbrella@lemmy.ml avatar

Whos the fucking idiot that wro… oh it was me.

lil, in Manager: This task only takes 30 minutes. Why did it take you the whole day?
@lil@lemy.lol avatar

You should not use -m, you should write commit body!

zalgotext,

Why? My coworkers are barely literate and won’t read anything with more than 4 or 5 words, writing a commit body would be a waste of time.

ExperimentalGuy, in When rubber duck debugging just doesn't cut it.

So rude for not dropping the link for that duck in the post tsk tsk tsk

brokenlcd, in When rubber duck debugging just doesn't cut it.

I raise chickens in my garden; I’ll make do

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #