3 ms·
It's quite true. Years ago, after `git switch` was released, I wanted to try to switch from `git checkout` to `git switch`. Ultimately I had to set up some bash
by lelandbatey 18d ago
It's quite true. Years ago, after `git switch` was released, I wanted to try to switch from `git checkout` to `git switch`. Ultimately I had to set up some bash nastiness to error and "scold" me when I typed `git checkout` from memory, while still allowing shell scripts to call `git checkout` just fine. It was a fun exercise, and at least now I know how I could do it again: https://github.com/lelandbatey/dotfiles/blob/99c08f81fc8971035cc47a1fce3510db3401b26d/.bashrc#L259-L263 https://github.com/lelandbatey/dotfiles/blob/99c08f81fc89710...
- irishcoffee 18d agoYour beef is with git, which is terrible, not a shell.
- wild_egg 18d agoWhat's the point of switching to switch? I've only ever used checkout and not sure what I am missing out on.