lerna import导入项目的时候报错:
lerna ERR! Error: Command failed with exit code 128: git rev-parse HEAD
lerna ERR! fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
lerna ERR! Use ‘–’ to separate paths from revisions, like this:
lerna ERR! ‘git <command> [<revision>…] – [<file>…]’
因为在lerna init的时候需要提交commit,要不然也会报错,但是lerna init会自动生成git管理,所以不需要执行git init