arc diff提交代码出现异常:
You have a saved revision message in ‘.git\arc\create-message’.
Message begins:
兑换码领取记录表新增字段orderId
You can use this message, or discard it.
Do you want to use this message? [Y/n] y
Linting…
No lint engine configured for this project.
Running unit tests…
No unit test engine is configured for this project.
Usage Exception: No changes found. (Did you specify the wrong commit range?)
解决办法:使用arc diff HEAD~
原因:Did you specify the wrong commit range?
其他命令:
arc diff // 提交默认的diff
arc diff xxx --preview // 提交针对某个分支的commit,并只生成diff文件,不在web端创建revision
arc which // 查看arc diff 会提交哪个范围的diff
arc land // 提交代码,删除该分支 or 使用 git push
arc list // 查看有哪些revision和其状态