method

rev_parse

v2_5_5 - Show latest stable - Class: Gem::Source::Git
rev_parse()
public

Converts the git reference for the repository into a commit hash.