arco-design / arco-cli

CLI tool for Arco Design
https://arco.design/docs/material/guide
MIT License
203 stars 76 forks source link

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

Closed Feng373712195 closed 1 year ago

Feng373712195 commented 1 year ago

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):

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

MisterLuffy commented 1 year ago

git status 能执行吗?

UsVfxArtia commented 1 year ago

65

MisterLuffy commented 1 year ago

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