3 ms·
Why not just alias 'gti' to 'git'? I don't see what constructive purpose this serves. The only situation where it might matter is if you were using lots of diff
by w1ntermute 14y ago
Why not just alias 'gti' to 'git'? I don't see what constructive purpose this serves. The only situation where it might matter is if you were using lots of different systems and didn't want to copy your aliases file over, though that's pretty simple nowadays, thanks to Git itself.
- sjtgraham 14y agoIt's more fun.
- simdiab 14y agoYou're right. How dare we have fun on the internet!?
- jrockway 14y agoWhat would there be to blog about if he did that? Blogging is a sign of intelligence, and if you just do something simple and don't tell anyone, how smart are you really? I use an even more failsafe technique: typing the word "git" correctly each time.
- jlgreco 14y agoIt serves the same purpose that sl serves. A minor somewhat amusing annoyance that gets tiresome over time, forcing you to drop the bad habit. Aliasing it to 'sleep 2 ; git' would do the same thing, but would lack the embarrassment and amusement that the animation gives. Of course mostly that is just an excuse. "Because it is fun" is really the only reason that there needs to be.
- misnome 14y agoI've been tempted to do things like this alias, but it's a slippery slope; I don't want to train my muscle memory to type the wrong thing, and if it's silently accepted that's what is likely to happen. This way, the command gets run but you get a reminder that you typed the wrong thing, I guess. Now I need something to stop me typing 'pythong' in shebangs.