@tinyfe/git-checkout
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@tinyfe/git-checkout

commander about git checkout

Usage

import { checkout, checkoutPromisify } from '@tinyfe/git-checkout';

checkout('main', { targetPath: '.' }, () => {
  console.log('checkout finished)
});

// promise that checkout
const checkoutIt = async () => {
  await checkoutPromisify('main', { targetPath: '.' });
};

checkoutIt();

Package Sidebar

Install

npm i @tinyfe/git-checkout

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

5.86 kB

Total Files

11

Last publish

Collaborators

  • rain120