arco-design/arco-cli

arco init hello-arco-pro 选GitHub授权登录后出现“请提交你的 Git 修改后继续操作”

swurtheone opened this issue · 3 comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. MacOS]
  • node version [e.g. v16.13.1]

Additional context
Add any other context about the problem here.

arco init 之前需要保证 Git 暂存区是干净的,把已有的修改提交一下即可。

已解决,可能初始化缺少.git目录,git init即可。
image