/git

Common library and utilities to use Git in NodeJS

Primary LanguageJavaScriptMIT LicenseMIT

Git

Common library and utilities to use Git in NodeJS

Installation

yarn add @blendsdk/git --save
npm install @blendsdk/git --save

Utlities

Check if we are on a given branch

is_git_branch <branch name>

Check if the current working git folder is clean

is_git_clean