git commit报错subject may not be empty
rt,git commit的时候报错subject may not be empty,其实是husky的问题,husky是用来规范commit提交内容,如果嫌麻烦,可以直接npm uninstall husky。
https://stackoverflow.com/questions/68261650/strange-error-when-attempting-to-commit-subject-empty
大家的讨论
https://zhuanlan.zhihu.com/p/36860301
这个文章讲的不错,可以参考下
其中很关键的一点:
git commit -m "feat: xxxx"
冒号:之后要加一个空格,否则还是没有办法提交
git commit报错subject may not be empty相关推荐
- git commit报错(husky > commit-msg hook failed)
报错信息 ➜ guchejia_web_app git:(5.1.1) ✗ git commit -am "[feat]: 修改弹窗"Warning: Setting commit ...
- git commit 报错fatal: unable to access
解决: #取消http代理 $ git config --global --unset http.proxy #取消https代理 $ git config --global --unset h ...
- git push origin master报错error: src refspec master does not match any || git commit报错nothing to commi
git需要提交的文件夹内无内容修改导致 建议删除git初始化仓库生成的 .git 文件,然后将文件夹内容转移至其他路径,再次重新初始化提交. 或者, 将要提交的文件内容进行一定修改.
- Git 提交报错,账户和密码错误 和 git add/git commit 文件太大太多
问题1: Git 提交报错,账户和密码错误 重新使用git进行作业提交 问题2: 源码太大文件太多,失败 git add . git commit idea push操作 问题3:git push 报 ...
- git push 报错 ---error: commit 8aa8e31: email address yin.jiaqing@.....com is not registered in your
git push 报错: error: commit 8aa8e31: email address yin.jiaqing@haustart.com is not registered in your ...
- git add . 报错‘xxx/’does not have a commit checked out,fatal: adding files failed
使用git新建仓库后想要上传多个项目放在一起,结果git init后git add . 报错: 解决: 将子目录下的.git删除 原因:子目录下有.git 与本目录上传的git冲突了
- git第一次提交代码到码云,git pull 报错:fatal: refusing to merge unrelated histories
第一次提交的步骤: 1.进入项目目录,执行 git init 2.连接远程仓库 git remote add origin 远程仓库地址(从码云乎哟这github上复制地址即可) 3.报错:git p ...
- git pull报错Pulling is not possible because you have unmerged files
git pull 报错 error: Pulling is not possible because you have unmerged files. 解决办法 1. git add -u 2. gi ...
- git push报错 emote: error: GH007
报错信息: Pushing to https://github.com/***.git POST git-receive-pack (1288 bytes) remote: error: GH007: ...
最新文章
- redis面试知识点和内存算法了解
- 基于知识图谱、认知推理、逻辑表达的认知图谱,则被越来越多的国内外学者和产业领袖认为是 “目前可以突破这一技术瓶颈的可行解决方案之一
- TensorFlow教程之进阶指南 3.4 TensorBoard: 图表可视化
- php因屏幕分辨率显示不一样,分辨率dpi是什么意思
- 欧拉路径(Euler_Path)和欧拉回路(Euler_Loop)
- 分布式查询处理和优化相关知识介绍
- ASP.Net Core Razor 页面路由
- 代码扫描工具测试覆盖率工具
- ./mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such
- 定量库存控制模型_经济订货批量不是最终的订货批量,计算订货批量的最高库存定量法...
- hadoop安装详细步骤_LED透明屏安装步骤详细说明
- Linux下如何查看定位当前正在运行的Nginx的配置文件
- ML Case Studies(0)
- 浪曦视频在线的ASP.NET AJAX视频教程下载(转载)
- 运用递归实现快速排序算法(二分排序)
- Tomcat8安装配置
- 大数据背后的神秘公式(上):贝叶斯公式
- c语言中dot作用,Unix中的dot命令详解
- 快速理清Paxos、Zab、Raft协议
- php获取汉字个数,获取文件中汉字个数