[–] 3stacks 26d ago ↗ Its a weird feeling to see something posted on here and remembering it being posted nearly 10 years agoI think of this every time I write git git status
[–] sshine 26d ago ↗ I never have this exact problem.It's rare that my stale prompt has a "git" in it.Most of my git commands have mnemonic aliases like "gs", "gd", "gl".I usually have the problem where a stale "ls" or "vim" inhabits the prompt.
[–] modeless 26d ago ↗ I need one called "gits" that accepts a command "tatus". [–] smgpie 26d ago ↗ And sometimes when I type fast there is "gis tatus" [–] xtiansimon 26d ago ↗ I’m a bad typist, so it’s ‘hoy’ for me.
[–] smgpie 26d ago ↗ And sometimes when I type fast there is "gis tatus" [–] xtiansimon 26d ago ↗ I’m a bad typist, so it’s ‘hoy’ for me.
[–] tempfile 26d ago ↗ It's amazing the lengths people go to in order to avoid typing more carefully.
[–] skrebbel 26d ago ↗ I recommend also adding this: [alias] really = !exec git This solves the common situation where you could’ve sworn you pushed your worl, but colleague can’t find it regardless. You can then `git really push` to be sure.
[–] quietlathe 26d ago ↗ The exec matters here. Without it each extra git would stack another shell process.
15 comments
[ 0.25 ms ] story [ 4.7 ms ] threadI think of this every time I write git git status
It's rare that my stale prompt has a "git" in it.
Most of my git commands have mnemonic aliases like "gs", "gd", "gl".
I usually have the problem where a stale "ls" or "vim" inhabits the prompt.
This should be "aliases".