this post was submitted on 25 Oct 2023
293 points (97.7% liked)

Programmer Humor

32051 readers
1447 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 16 comments
sorted by: hot top controversial new old
[–] aeharding@lemmy.world 45 points 11 months ago (1 children)
[–] Gork@lemm.ee 16 points 11 months ago

Mmm yes number go up.

Progress.

[–] shotgun_crab@lemmy.world 18 points 11 months ago* (last edited 11 months ago) (1 children)

Isn't it easier to delete the release? Unless they have no permission to do it I guess

[–] wasabi@feddit.de 15 points 11 months ago (1 children)

It's a bit trickier since that is a neovim plugin so a bunch of people will automatically have updated to this tag using their plugin manager. Removing it will probably just make it worse.

[–] shotgun_crab@lemmy.world 8 points 11 months ago

I forgot the many plugin managers that download stuff directly from github. That makes way more sense.

[–] NotSteve_@lemmy.ca 14 points 11 months ago (3 children)

How do you accidentally force push lol

[–] wasabi@feddit.de 21 points 11 months ago (2 children)

I assume the accident was not to force push, but to the wrong branch

[–] magic_lobster_party@kbin.social 15 points 11 months ago

I hope they learned the value of protecting your branches.

[–] Redscare867@lemmy.ml 3 points 11 months ago* (last edited 11 months ago) (1 children)

This is why I always git push origin +branch_name

[–] forgeddit@sopuli.xyz 1 points 10 months ago* (last edited 10 months ago)

My go-to these days is to push the current branch, dynamically.
git push origin HEAD

Depending on the VC, HEAD has different prefix/suffixes to make it work.

Edit: formatting, also I never checkout master I do origin/master so I cannot even push it with this method. I think

[–] DacoTaco@lemmy.world 8 points 11 months ago

I was wondering the same. Any branch that has any logic besides a ci build attached to it should have been force push protected by default...

[–] sebsch@discuss.tchncs.de 1 points 10 months ago

Git rebase makes it possible getting used to do so

[–] ILikeBoobies@lemmy.ca 11 points 11 months ago

You guys actually release stuff?

[–] Bene7rddso@feddit.de 7 points 11 months ago

But why is it a major number?

[–] promitheas@iusearchlinux.fyi 2 points 10 months ago (1 children)

How do they get the numbering system? Is it automatic somehow?

[–] herr@lemmy.world 2 points 10 months ago

Pretty sure they just type it in manually. See named tags in git.