sha1: Determine sha1 of the current git checkout

Description Usage Arguments

Description

If the repo is uncommited, "draft" is return instead of the SHA.

Usage

1
sha1(n = 10)

Arguments

n

Number of characters to truncate sha1 to. Defaults to 10 because that's what github does.


hadley/rifftron documentation built on May 17, 2019, 11:31 a.m.