Skip to content

Files

Latest commit

 

History

History
16 lines (13 loc) · 299 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 299 Bytes

git-commit-stamper

Replaces a string (GIT_COMMIT) in a file

Usage

yarn add --dev @kodbruket/git-commit-stamp
yarn git-commit-stamp -h

Example

echo "GIT_COMMIT" > example
yarn git-commit-stamper -c example
cat example // 222fe84e7b28f1de86651d5a93dd580406009a54-dirty