r/ProgrammerHumor • • 1d ago

Other myFingersWheneverItComesToTyping

Post image
1.7k Upvotes

152 comments sorted by

5

u/olsmoke 22h ago

Just create alias for all your typos

2

u/Interesting_Buy_3969 6h ago

But then I start making typos in aliases.

1

u/olsmoke 5h ago

Thats when you ask claude to write all possible git aliases

2

u/more_exercise 17h ago

I have 70 lines of git config dedicated to exactly this. 24 bash alias typos of git, too.

gith elp,gi thelp, (and therefore consequently gi elp) all work.

It's nucking futz.

1

u/olsmoke 5h ago

Aah man of culture

131

u/dabenu 1d ago • Mindblown

Let me introduce you to https://github.com/nvbn/thefuck

57

u/IsThatTaken69 1d ago

Fcuk

65

u/TrainingTheory552 21h ago
alias fukc='fuck'
alias fcuk='fuck'
alias fcku='fuck'
alias fkuc='fuck'
alias fkcu='fuck'
alias ufck='fuck'
alias ufkc='fuck'
alias ucfk='fuck'
alias uckf='fuck'
alias ukfc='fuck'
alias ukcf='fuck'
alias cfuk='fuck'
alias cfku='fuck'
alias cufk='fuck'
alias cukf='fuck'
alias ckfu='fuck'
alias ckuf='fuck'
alias kfuc='fuck'
alias kfcu='fuck'
alias kufc='fuck'
alias kucf='fuck'
alias kcfu='fuck'
alias kcuf='fuck'

26

u/AyrA_ch 21h ago

Just register "fuck" as the "command not found" handler

17

u/joemckie 20h ago

“Command r not found, did you mean rm?”

11

u/moldy-scrotum-soup 19h ago

fuck fuck fuck fuck fuck

2

u/IsThatTaken69 7h ago

Did you mean to "git push master - - force" "oh no fuck fuck fuck"

1

u/Interesting_Buy_3969 5h ago

Buddy at this poitn just alias it to f so that you only have to hit 1 shot.

21

u/markswam 1d ago

At this point I think fuck has got to be in my top 10 most frequently used terminal commands. It's so useful.

1

u/QuadWingedCrane 6h ago

Wow. As someone with the most clumsy fingers, this is impressive

7

u/RedditParhey 1d ago

Claude commit push gogogogo

7

u/Interesting_Buy_3969 1d ago

You forgot to tell him to make no mistakes

3

u/un_blob 1d ago

Too bad, now Claude is Skynet

2

u/Single-Virus4935 8h ago

where --force?

1

u/Interesting_Buy_3969 5h ago

You mean --force-with-lease? All my homies always use --force-with-lease!!

1

u/Single-Virus4935 5h ago

 It sometimes complains. So just force... Works every time. Also it is more to type. DX of --force is so much better

125

u/fibojoly 1d ago edited 20h ago

Did you mean git push ?

Yes git, I did... why don't you just do it then, uh ? You gotta mock me ?

edit : guys, I know, I know. I have the option activated. And I appreciate git's approach of only doing exactly what it's told, not trying to guess. I'm just saying I love imagining the computer mocking me for making a typo. Like, if GladOS was answering, you know?

49

u/Fuzzyninjaful 21h ago

That's a configuration option

git config --global help.autocorrect prompt

Will ask you if you want to run the command it thinks you typed.

You can use immediate instead if you want it to run without asking you.

4

u/KamikaterZwei 18h ago

I go one step further, i made git shortcuts:

git s => git status

git d => git checkout develop

git a => git checkout <branch I'm working on>

git p => git push

25

u/click-to-reveal 1d ago

What should do for git pulh or git pusl?

11

u/Wonderful-Habit-139 23h ago

Considering pull is on the right side of the keyboard, if any letter from the left side is involved that means you did not want to write pull.

5

u/Clairifyed 22h ago

Maybe they have an alternative keyboard layout

2

u/trashcatt_ 17h ago

Cries in Dvorak.

1

u/peeja 15h ago

Cpcdo.

1

u/Valier 23h ago

Write your own wrapper that supports typos. It costs 0 and saves time in these cases

npm install synopsis supports most of accidental typos and it's super comfy.

https://docs.npmjs.com/cli/v12/commands/npm-install

I agree that "push" could be a bit more important in alot of contexts, but in my private projects, I'm very tolerant.

37

u/KyxeMusic 1d ago

Jeez me it's gitp ush every time

2

u/jaavaaguru 18h ago

You’ve got to nip that int he bud

33

u/Oleynick 1d ago

dicker up is my favourite typo

12

u/zuilli 22h ago

ヽ༼ຈل͜ຈ༽ノʀᴀɪsᴇ ᴜʀ ᴅᴏɴɢᴇʀsヽ༼ຈل͜ຈ༽ノ

5

u/examinedliving 23h ago

What does it mean

13

u/Pshock13 22h ago

It's supposed to be docker up for spinning up containers.

4

u/GuyWithTheDragonTat 21h ago

Damn you, im sick and this made me laugh up a lung

2

u/Mileydoos 1d ago

Came to say this one too. Every dang time.

2

u/Laughing_Orange 16h ago

Dicker? I hardly know her

60

u/arcadeluke 1d ago

Or gitp ush
Or it push
Or gitps uh
Or insert combination of keyboard vomit.

26

u/monke_soup 1d ago

Igpshu t

Yes ive typed this once

6

u/manav907 1d ago

Was the i really I

6

u/Wonderful-Habit-139 23h ago

He’s probably typing on his phone which auto capitalizes it for him.

1

u/zuilli 22h ago

gti push

git pus

git puul

4

u/PolyUre 20h ago

gti push

Vroom vroom

1

u/zuilli 16h ago

lol, amazing!

1

u/ErroneousBee 17h ago

I got status.

1

u/mustangsal 11h ago

Yeah, I'm a gitp ush kinda guy. Like my thumb can't keep the tempo.

18

u/BernhardRordin 1d ago

If you are working on a particularly nasty quickifx: $ git vommit

5

u/Tetraoxosulfato 1d ago

This is genius. I'll be adding it.

3

u/Naso_di_gatto 19h ago

git vommit --amen

9

u/New-Let-3630 1d ago • Mindblown
git config --global help.autocorrect 1

11

u/suvlub 1d ago

Too dangerous, I sometimes mess up badly enough that git thinks it resembles other command more than what I intended. I prefer to set aliases for my most common typos

5

u/Pandafishe 20h ago

then do git config --global help.autocorrect prompt ? It asks you before running it (y/n)

1

u/examinedliving 23h ago

git commush

8

u/putinhu1lo 1d ago

gti

2

u/idk_drv 22h ago

das Version Control System

8

u/sonsistem 1d ago

Select * form EVERY FUCKING TIME

8

u/Major_Dot_7030 1d ago • Bravo

for a in psh psuh puhs pus puch pushh pshh pish gp gpush gup pup; do git config --global alias.$a push; done

3

u/thismightbeunhealthy 23h ago

Also tpush and ush, and then add

alias gi=git
alias gitp=git

to your .bashrc.

2

u/Geff10 19h ago

For me gitp is for git pull

1

u/fubbleskag 22h ago

I do this with variations of `clear` since I seem to mistype that frequently

7

u/uvero 1d ago

brew install thefuck

6

u/whackylabs 1d ago • Heartwarming

As a Oh My Zsh user I use gp. I've been using the aliases so much that I don't even remember a lot of these git commands anymore.

https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git

5

u/FoodBorn2284 22h ago • Bravo

I once wrote `git hobbit` instead of `git commit`

4

u/romaaeternum 1d ago

git püsh

3

u/wurnthebitch 1d ago

gît pousse

4

u/Tetraoxosulfato 1d ago

psuh the comit maek no misteake

4

u/lenn_eavy 1d ago

I frequently find myself wanting to rebase to mian branch.

4

u/tslnox 1d ago

exot instead of exit. So many times.

4

u/pandorazboxx 23h ago

pythong -m src.main

1

u/frznwffls 21h ago

Came here to say this. Glad it’s not just my mind that’s always in the gutter

4

u/daktarasblogis 21h ago

I just use a neat package called fuck. Whenever you mistype something, just run fuck and it will correct most common typos. It's available in AUR, not sure about other repos.

4

u/ExplodingFistBump 18h ago edited 18h ago

I accidentally type “gi tpush” (or other variants starting with “gi t”) so often that I just wrote a little bash script called “gi” that strips the leading “t” and executes the appropriate command.

It’s saved me so much time.

3

u/Yhamerith 1d ago • Regret

it pull is my favorite

I think my "g" is broken

3

u/Ghost_out_of_Box 1d ago

For some reason, for the past two years, my typing has been dyslexic

3

u/dumbasPL 23h ago

claude -p "push this"

/s

3

u/Cordistan 20h ago

git add

git ass

2

u/AeroSyntax 1d ago

gti add

2

u/dumbledayum 1d ago

nom install

2

u/SteveMacAwesome 1d ago

Refreshing to see someone typing for themselves

2

u/Symphonic_nerve 23h ago

the ❌️ teh ✅️

2

u/rexmccoy 21h ago

git poop

I've typed that one more than I care to admit

2

u/Bakoro 19h ago

I can't seem to stop typing "pythong". I'm a software engineer who uses python basically every day.
Literally every time, something in my brain moves me to write "pythong".

I don't know where that comes from, why it happens, I don't tend to make any other errors consistently at the keyboard, and it's not like it's something that I could fat-finger, it's a completely extra letter that is nowhere near the other keys.

I've taken to brute force re-training my brain, and typing "python" hundreds of times.

Inevitably... "pythong" comes back.

2

u/The1Lemon 16h ago

I can't be the only one forever writing git pish

3

u/Crazo7924 1d ago

guthib

1

u/nicktehbubble 1d ago

Recently been working with a talented apprentice, doing a work placement in my office. Smart dude, strong knowledge, good programming skills.....

Keyboard sounds like a machine gun! I mean loud, like he's playing the drums. I always new he could "touch" type, rarely saw him glancing down, until I paid attention to his hands. The guy types with 3 fingers! His hands like CNC heads whirring and clacking with ruthless, blind efficiency.

1

u/BoBoBearDev 1d ago

I just mouse clicks. No typos because I don't type.

1

u/muzzbuzz789 1d ago

git comit

1

u/un_blob 1d ago

I aliased ls as sl... After seeing so much steem locomotives showing up ...

1

u/mrrask 1d ago

my goto is git puhs

1

u/Few_Adhesiveness7676 1d ago

One of the typos that used to happen to me was "fit ass" instead of "git add". Anyways, now claude does whatever it feels like.

1

u/Mantraz 1d ago

I aliased every single 4 letter combination of git push . Somehow after commiting, my terminal lags and even if I type it correctly, 90% chance it's salad.

1

u/Capital_Figure_408 1d ago

or just push

1

u/Prod_Meteor 1d ago

And also when ohmyposh remembers the git psuh.

1

u/enternoescape 1d ago

Did this one recently, surprised myself.

rf -rf project

1

u/LetumComplexo 1d ago

I unironically used to have a handful of my common typos aliased to the commands they should be.

Unfortunately I lost that file and I’ve been too lazy to replace it and/or have been making fewer typos.

1

u/Weirfish 23h ago

I write my changleogs every day.

1

u/thelizardlarry 23h ago

Include mis-spelled alternates for aliases and envvars and IT tickets will go down. I know a piece of software that supports multiple different misspellings of their license variable for this very reason.

1

u/EuenovAyabayya 23h ago

I'm not sure you understand the point of using that font in the first place.

1

u/The_Hero_0f_Time 23h ago

alias gp = "git push"

alias gpf = "git push --force"

1

u/MrFuji87 23h ago

When someone's watching "gti psuh"

1

u/zman0900 23h ago

    gi tstasu

1

u/Key_Benefit_6505 22h ago

My personal is "git commit -n" instead of "git commit -m"

Idk I am thinking of "name" instead of "message".

1

u/mrbellek 22h ago

gitp ush

Get on my level scrub /s

1

u/Summar-ice 22h ago

I mistype clear so much I set up the command not found handle to check if it's within edit distance of 2 of "clear", and if it is, just do clear

1

u/DistinctStranger8729 21h ago

I am more of a gti push person myself

1

u/GeePedicy 21h ago

don't people use UI apps like SourceTree, Fork, Kraken...?

Anyway, my mistake is almost always breakl instead of break;

1

u/ensoniq2k 21h ago

In German it's git pfusch

1

u/MacGuyver247 21h ago

git vomit

1

u/vassadar 21h ago

Alias it to gp or use lazygit.

1

u/TheCabalMinion 21h ago

I often sound as if I needed starting help with my souped up car. gti push

1

u/KindSpider 21h ago

gir and got are my go-tos, push mostly comes out fine, unless it decides it wants to be pusj

1

u/CranberryDistinct941 20h ago

Every time I write retrun I have to re-type it 3 more times to get it right

1

u/PhantomThiefJoker 20h ago

Most often, I do retrun or asnyc

1

u/MrinmayDas 20h ago

it psuh —origin man

1

u/Pandafishe 20h ago

permanent fix (might require a couple more)

for typo in psuh phus puhs pus hups ushp; do
  git config --global "alias.$typo" push
done

and if you like to live on the bit more risky end:

git config --global help.autocorrect immediate

or if you want the same but you don't trust your wizardry (I personally recommend this):

git config --global help.autocorrect prompt

1

u/meolla_reio 20h ago

And then get mocked by git did you mean git push? I swear this message made me check what I type every time

1

u/readead 20h ago

Gi tpush

1

u/inconspicuous_male 20h ago

I used to have something called sl which if you typed sl instead of ls it would create an ascii train that slowly runs across your terminal 

1

u/LieutenantNitwit 20h ago

s/gerp/grep

1

u/mearnsgeek 19h ago

I don't think I've ever had a problem with that one, but -tion frequently turns up into -tino and I was really fucked when a client had ComnectionCollection classes.

1

u/aktzept 18h ago

got pill

1

u/Individual_Win_3417 17h ago

Followed by: git commit -m "fix tpyo"

1

u/jcastroarnaud 17h ago

Mine is gti push. Also, "esle".

1

u/knightress_oxhide 17h ago

that's why i always use a type safe versioning system

1

u/Gronanor 16h ago

You mean gti psuh ?

1

u/sheekgeek 16h ago

I'm glad I'm not the only one. I think it's a keyboard conspiracy sometimes as often as it happens to me, lol

1

u/JayTois 16h ago

My git bash in Amazon Workspaces lags all the time so I end up typing a commit, and just immediately try typing git push just to mess it up 😭

1

u/Effective-Bill-2589 16h ago

Not a git but, mine is 'systemclt'

1

u/Anach 13h ago

One of my least favourites, was spending hours wondering why my code wouldn't compile, because I had emd instead of end. This was at a time where I needed new reading glasses, debug was pointing me at somewhere entirely different, and my editor at the time didn't highlight errors like this.

1

u/Yarblek 11h ago

That's teh truth

1

u/InternetsTad 9h ago

“Commit and push”

1

u/_51423 9h ago

Why not a ~/.gitconfig containing:

[alias]
	psuh = push

Easy as.

1

u/MadProgrammer12 5h ago

git commit -> git vommit

well sometimes it is a little bit too accurate

1

u/egstitt 5h ago

Me: presses commit and push button in intellij

Yes yes I know and love terminal commands, but buttons are easy to press

1

u/Crandxy 4h ago

This is basically what https://github.com/nvbn/thefuck was made for lol. Git says “did you mean git push” like yeah dude, obviously, just do it instead of roasting me. Half the time it’s gitp ush, it push, gitps uh, or some other keyboard vomit anyway. I get that git only does exactly what you tell it, but imagining GLaDOS smugly mocking every typo makes it way funnier.

•

u/echo_help 2m ago

git comit

-1

u/olpipi 1d ago

пше згыр

8

u/KlogKoder 1d ago

More than once I accidentally wrote 'gut pull'

1

u/KennyFulgencio 20h ago

gunt plush

4

u/Highborn_Hellest 1d ago

Person I'm mostly into "Got push" or "gut push"

3

u/Slippery_Stairs 22h ago

I type gut push.

1

u/kick-the-bucket 21h ago

I'm more of a gut pull kinda guy...