@aws/pdk
Version:
All documentation is located at: https://aws.github.io/aws-pdk
32 lines (23 loc) • 500 B
Markdown
# @pnpm/git-utils
> Utilities for git
<!--@shields('npm')-->
[](https://www.npmjs.com/package/@pnpm/git-utils)
<!--/@-->
## Installation
```
pnpm add @pnpm/git-utils
```
## Usage
<!--@example('./example.js')-->
```js
'use strict'
const { getCurrentBranchName } = require('@pnpm-utils').default
main()
async function main() {
const branchName = await getCurrentBranch();
console.log(branchName)
}
```
<!--/@-->
# License
MIT