没有合适的资源?快使用搜索试试~ 我知道了~
git commit提交信息修改
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 2 下载量 33 浏览量
2021-01-20
13:46:55
上传
评论
收藏 30KB PDF 举报
温馨提示
试读
1页
1 命令 git commit --amend 2 例子 git commit 输入以下数据: feat: test commitlint test commitlint test commitlint of the project 根据commitlint规范的提示,得到如下的数据提示,但是我又强迫症 husky > commit-msg (node v10.15.1) ⧗ input: feat: test commitlint :warning: body must have leading blank line [body-leading-blank] :warning: found 0 prob
资源推荐
资源详情
资源评论
git commit提交信息修改提交信息修改
1 命令命令
git commit --amend
2 例子例子
git commit
输入以下数据:
feat: test commitlint
test commitlint test commitlint of the project
根据commitlint规范的提示,得到如下的数据提示,但是我又强迫症
husky > commit-msg (node v10.15.1)
input: feat: test commitlint
⚠ body must have leading blank line [body-leading-blank]
⚠ found 0 problems, 1 warnings
Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
[master 541cf96] feat: test commitlint test commitlint of the project
Date: Wed Jan 15 15:32:35 2020 +0800
1 file changed, 1 deletion(-)
根据上述提示我们发现有一个warning存在,强迫症患者想要修改git commit message 那么只需要执行:
git commit --amend
然后对提交信息进行修改就OK啦!
作者:查小四
weixin_38626984
- 粉丝: 5
- 资源: 922
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页