Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemdro.id

64 replies

piefed.world

It is a duplicated repeating error because this clownshow of a website is managed by squirrels and ducks. 1-800-273-8255 would be a valid US number. Doubling 273-8255 is not, but probably vibe coded under management that should be purged by these results.

71
lemmy.world

Hey! Don't insult ducks like that! This clownshow website would be about 20% better if ducks were involved.

30

I don't know. I was cursing at ducks an hour ago while trying to remember how to spell diatomaceous earth and the ducks were total fuckwits.

6
Whostosayreply
sh.itjust.works

Lmao not willing to do the phone math rn, does that actually fit the numbers?

7

That could be platformed.

WAIT YOU HAVE SO MUCH TO LIVE FOR, have you tried ape talk?

Well, I can't say that I have.

3
fedditterreply
feddit.org

Did you see that ludicrious display last night??

20
OpenStarsreply
piefed.social

Yes I did. Just put it over there with the rest of the fire.

14

A B C D E F G, I hang a noose on this tree. 𝅘𝅥𝅮𝆕

But for real: You should reset hard the head of the git branch, not yours.

2

“Proper way to commit after merge conflict” sounds like a robot trying to save a relationship after a bad sex experience

30
git reset --hard <commit-hash>  
git push -f origin main  

i didn't see anything, officer

26
martinbreply
lemmy.sdf.org

You should be forcibly kept away from production systems...

20
infosec.pub

We had an intern do this once. We changed our server config to make sure it wouldn’t accept such operations.

12

It’s just a branch guard + properly implementing git user and team permission structures - you’re not “configuring a server”

-3
unalivejoyreply
lemmy.zip

Never use --force. Always use --force-with-lease.

3

git push origin master --force-with-leash

Don't do that to your master.

4

Keep your commits small. Merge often. That will reduce the likelihood of terrible merge conflicts.

If you’re not sharing your work with your team mates for a long time, then you’re setting yourself up for trouble.

10

Jujutsu (which is compatible with git) has a nice conflict resolution flow that doesn't break you workflow.

Conflicts are encoded into the commits, so that there is never a weird in between state that you have to deal with immediately before being able to do anything else.
Then you can use Jujutsu's easier history manipulation to resolve the conflict in the conflicted commits.

https://steveklabnik.github.io/jujutsu-tutorial/branching-merging-and-conflicts/conflicts.html

And you could always jj undo if you did something you didn't want to.

10

Been there too OP. Not a good place.

It's usually easier to find another job, it will reset your mind, and fear won't be driving you.

Or you could just commit what you have, comment "YOLO" and auto resolve conflicts and push.

8

I prefer to just delete the whole .git and start a new repository with the new version. We are pivoting the project, new name and new repo

2

And if you can't figure out how to rebase, I definitely don't want you solving your own merge commit!

2

I remember when similar screenshots circulated for how to tell if i am running jdk or jre, which is even more surprising.

7

See I wasn't really going to kill myself today, but the thought of dialing that long ass number is just to much.

5
lemmy.world

in life you commit to many things. you commit to yourself, to your partner, to happiness, to legacy.

when we die, is that like a push to origin?

when we die, do our commits all go to the big repo in the sky?

is god the maintainer? when you pray is that like a bug report?

so many questions...

4

Little branch, as our master says: We all have our feature to accomplish. Once our feature is complete, our faith will be up to the maintainer. If you were a well behaved branch, you will be allowed to merge with the master. If you weren't so, you'll be deleted and burn In the flames of reflog.

1

If you git help, you could hash things out, rebase your commitments, and push forward to a better life. Then again I could just be cherry picking things.

3

Google gives you results based on your prior search history.

3
lemmy.world

git is like a minefield. stray away even a little bit from standard path and you are done for. I had git multiple times throw some obscure errors at me when trying some commands and then trying to undo/recover. how's "undo" is not a git command I don't understand.

3

I didn't know about the "revert single file" trick either. The rest is a handy reference too, thanks for sharing!

1

Commit branch...I see your thinking of hanging yourself, here is a link to tying a noose

2
discuss.tchncs.de

I don't get why people have such problems with this they even make memes about it.

Have you people never merged anything by hand or what? It's really not hard.

2
merereply
lemmy.blahaj.zone

it's fine for simple merge conflicts but it quickly gets messy when the two branches are trying to do opposite things to the same code

4
lemmy.blahaj.zone

it's maybe more annoying in gamedev. textures, models are binary files that can't be changed line-by-line.

2

So cool, I havent seen an ad like this in at least a decade. I use something called an ad blocker and also I switched to Kagi, so.... :)

-4