@blendsdk/git

Common library and utilities to use Git in NodeJS

Usage no npm install needed!

<script type="module">
  import blendsdkGit from 'https://cdn.skypack.dev/@blendsdk/git';
</script>

README

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