Files
pnpm/packages/git-utils
Zoltan Kochan 3a5bfaa94f chore: update zkochan packages to latest versions (#10930)
Update all packages from zkochan/packages to their latest major versions
and exclude them from minimumReleaseAge requirement. This includes
updating catalog entries, adapting to breaking API changes (default
exports replaced with named exports, sync functions renamed with Sync
suffix), and updating type declarations.
2026-03-11 13:47:46 +01:00
..
2024-04-09 17:14:05 +02:00
2026-02-18 14:54:09 +01:00

@pnpm/git-utils

Utilities for git

npm version

Installation

pnpm add @pnpm/git-utils

Usage

'use strict'
const { getCurrentBranchName } = require('@pnpm-utils').default

main()
async function main() {
  const branchName = await getCurrentBranch();
  console.log(branchName)
}

License

MIT