arc diff 异常 :Usage Exception: No changes found.

在使用arcdiff提交代码时遇到一个异常,提示存在未使用的保存的消息,并指出可能指定了错误的commit范围。解决方案是使用arcdiffHEAD~命令。此外,文章还提到了其他相关arcdiff命令,如用于预览diff、查看提交范围和管理修订的状态。
摘要由CSDN通过智能技术生成

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和其状态
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值