3 ms·
git git git git git
- ggm 2mo agoDo the exec() tail call?
- messe 2mo agoExec replaces the current process, so yes[1]. [1]: Unless git is doing fork()+exec() and then waiting for the exit code.
- 3stacks 2mo agoIts a weird feeling to see something posted on here and remembering it being posted nearly 10 years ago I think of this every time I write git git status
- sshine 2mo agoI 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 2mo agoI need one called "gits" that accepts a command "tatus".
- smgpie 2mo agoAnd sometimes when I type fast there is "gis tatus"
- xtiansimon 2mo agoI’m a bad typist, so it’s ‘hoy’ for me.
- philipallstar 2mo ago> See what other git alias’ I have This should be "aliases".
- Subdivide8452 2mo agoNever had this, but I kinda wanna add the alias just in case now
- roli64 2mo agoSo this is what people do with their spare time.
- docheinestages 2mo agoWould it work with "giggity" too?
- tempfile 2mo agoIt's amazing the lengths people go to in order to avoid typing more carefully.
- walrus01 2mo agoBuffalo Buffalo buffalo Buffalo buffalo?
- skrebbel 2mo agoI 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 2mo agoThe exec matters here. Without it each extra git would stack another shell process.
- VCFundedGenYer 2mo agoWeirdly specific issue exclusive to the author.