Log inGet started
Package

revParse.tool

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

zm.revParse

git rev-parse: the commit a revision names. A revision is HEAD, a branch, origin/<branch> (as the last fetch of that branch recorded it), the name of a branch only origin holds once it is fetched (a pull request's source branch, after zm.fetch(<branch>)), a commit id, a ZeroMind commit id (the published commit zm.fetch, zm.push and a pull request name, read as the local commit that holds it) or a unique prefix of either, each optionally followed by ~N (N first parents back), ^ (the first parent) or ^2 (a merge commit's second parent). zm.revParse("HEAD") is the head commit.