Description
In line 124 of README.md, the following command is suggested to check out the latest stable version of jQuery:
git pull; git checkout $(git describe --abbrev=0 --tags)
In particular, git describe --abbrev=0 --tags
is meant to return the most recent tag, which should also be the last jQuery version number.
This doesn't work because, on the master branch, it returns "2.1.0-beta1" which is far from the latest stable version, even if it is the latest reachable tag.
The problem is that the tags with the version numbers are generally made on separate branches, and therefore they are unreachable with the "describe" command.
With the branching and tagging system used in jQuery, there doesn't seem to be an easy way to get the latest tag (link). Also, given the different versions (1.x and 2.x, now 3.x and Compat 3.x), it can be hard to define which one corresponds to the latest stable version, if any.
My suggestion would be to remove the notion of automatically getting the latest stable version through a git command.