arco-design/arco-cli

请提交你的 Git 修改后继续操作

Closed this issue · 3 comments

Describe the bug
使用arco-cli初始化项目出现 请提交你的 Git 修改后继续操作 提示,然后停止,不知道下一步如何操作。

To Reproduce
Steps to reproduce the behavior:

  1. yarn global add arco-cli
  2. 选择了公网版本
  3. arco init 项目名称
  4. 提示 请提交你的 Git 修改后继续操作

Expected behavior
成功初始化项目

Screenshots
WeChatde746419b69ab690cb1d9c944a70dfb1

Desktop (please complete the following information):

  • OS: [e.g. MacOS]
  • node version [e.g. v14.19.1]
  • yarn version [e.g v1.22.10]

Additional context
初始化项目是在一个没有任何.git文件的文件夹下初始化的

git status 能执行吗?

arco init 时要求 Git 工作区是干净的,如果报上边的错请检查一下 git status --short 的执行结果。