@tinyfe/git-checkout
v0.0.2
Published
git checkout
Downloads
9
Readme
@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();