Narrowly Preventing Mayhem

    @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();

    Install

    npm i @tinyfe/git-checkout

    DownloadsWeekly Downloads

    4

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    5.86 kB

    Total Files

    11

    Last publish

    Collaborators

    • rain120