arco-design / arco-cli

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

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

Closed swurtheone closed 2 years ago

swurtheone commented 2 years ago

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

Additional context Add any other context about the problem here.

swurtheone commented 2 years ago

image

MisterLuffy commented 2 years ago

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

swurtheone commented 2 years ago

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