0 silly input [ 'publish' ] 1 silly flags { _: [ 'publish' ], 1 silly flags 'reject-cycles': false, 1 silly flags rejectCycles: false, 1 silly flags 'npm-tag': 'next', 1 silly flags npmTag: 'next', 1 silly flags 'cd-version': 'premajor', 1 silly flags cdVersion: 'premajor', 1 silly flags preid: 'next' } 2 verbose rootPath /Users/finnfitzsimons/projects/modules/lego 3 info version 2.9.0 4 silly isInitialized 5 silly isInitialized true 6 silly existsSync /Users/finnfitzsimons/projects/modules/lego/VERSION 7 silly initialize attempt 8 info current version 0.0.0 9 silly isDetachedHead 10 silly getCurrentBranch 11 error initialize caught error 12 error Error: fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. 12 error Use '--' to separate paths from revisions, like this: 12 error 'git [...] -- [...]' 12 error 12 error at Function.module.exports.sync (/Users/finnfitzsimons/projects/modules/lego/node_modules/execa/index.js:303:26) 12 error at Function.execSync (/Users/finnfitzsimons/projects/modules/lego/node_modules/lerna/lib/ChildProcessUtilities.js:59:30) 12 error at Function.getCurrentBranch (/Users/finnfitzsimons/projects/modules/lego/node_modules/lerna/lib/GitUtilities.js:203:59) 12 error at Function.isDetachedHead (/Users/finnfitzsimons/projects/modules/lego/node_modules/lerna/lib/GitUtilities.js:45:37) 12 error at PublishCommand.initialize (/Users/finnfitzsimons/projects/modules/lego/node_modules/lerna/lib/commands/PublishCommand.js:260:36)