Did you know that "git checkout -" works much like "cd -" and switches back and forth between two branches?
@fribbledom That was definitely added after Git 2.12.0...
"error: pathspec '-' did not match any file(s) known to git."
@clacke @hypolite @fribbledom It's much worse than "worse is better". Hg existed first, and was used by Linux. Instead of replacing its backend with their cool new idea for a DCVS storage model, the Linux kernel group decided to get NIHy and bless the world with one of their amazing interfaces.
It won due to the momentum of the kernel group, then GitHub.
@clacke @hypolite @fribbledom I just don't think WIB quite describes what happened there, as hg was also in the right place at the right time with the right group if people. Just, Torvalds made git, so despite being significantly less user friendly, they went with that.
"Invented Here is Worse therefore Better" I guess 😛
@fribbledom too bad you can't pushb/popb a branch or two though. Although I am just noticing a risk of using 'push'
@fribbledom I didn't even know about "cd -", I always used pushd and popd. Which doesn't quite do the same job.
@fribbledom you mean to tell me that I've been a UNIX and Linux user for 27 years now, and I never knew about `cd -` ????
I'm confused how often I've seen that kind of response now 😆 I don't think I would have made it through all those years without it.
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!