I miss doing these at http://gitready.com. For years now I've accepted suggestions but haven't written any up. If you submit a PR for a new post I'll gladly merge and publish it (after review!).
I don't mean to hijack this thread, but I just wanted to express my appreciation: I love git ready! It was truly invaluable to me when I was learning git, and still today, I always seek it out in git-related search results. Great work, and thank you!
The most important part of the algorithm is the line "levenshtein(cmd, candidate, 0, 2, 1, 3) + 1;". This calculates the levenshtein distance between what you typed and valid commands, using different weights for different types of manipulations. In this case, 0 for swaps, 2 for substitutions, 1 for adds and 3 for deletes.
This showterm stuff is cool, but I really don't think it's ready for prime time. Besides breaking browser navigation by filling up the history or something, all the terminals play simultaneously when I open the page, and once a terminal finishes none of the buttons work anymore, only the manual slider. This is in Chrome.
It always annoyed me when I make a typo and git almost always knows what I meant but doesn't correct it for me.
It was all a git config away.
I'd be interested in more git config options. Anyone know where I can find a full list? A quick google shows me the basic user name, email, etc options which I already have.
I'm still looking for something that will make git file completion as nice as hg's. That is, in hg when I type hg diff <first couple characters of a modified file path> it can complete it for me. Ditto for commit, merge, etc.
https://github.com/gitready/gitready