博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
git commit 出錯 處理
阅读量:4286 次
发布时间:2019-05-27

本文共 967 字,大约阅读时间需要 3 分钟。

复制代码

remote: Resolving deltas: 100% (7/7)remote: Counting objects: 11, doneremote: Processing changes: refs: 1, done    remote: ERROR: missing Change-Id in commit message footerremote: Suggestion for commit message:remote: [ENHANCE][htp images] update htp images(ed1b819c8a6278f8c4726f41a27b24ab52178e15) and htp version(0.9)remote: remote: [PROJECT]remote: stb-u810remote: remote: Signed-off-by: siangwei.ji 
remote: remote: Change-Id: If89233cdef8a20049d6cc7e0e2019ffc7c148dcbremote: remote: Hint: To automatically insert Change-Id, install the hook:gitdir=$(git rev-parse --git-dir); scp -p -P 29418 siangwei.ji@172.23.33.33:hooks/commit-msg ${gitdir}/hooks/

复制代码

遇到上面錯誤

先輸入

gitdir=$(git rev-parse --git-dir); scp -p -P 29418 siangwei.ji@172.23.33.33:hooks/commit-msg ${gitdir}/hooks/

在輸入

git commit --amend

進去裡面後,看Change-Id:    有沒有出現,有的話直接存檔離開

然後在直接push就可以囉

 

 

gitdir=$(git rev-parse --git-dir); scp -p -P 29418 siangwei.ji@172.23.33.33:hooks/commit-msg ${gitdir}/hooks/

转载地址:http://szpgi.baihongyu.com/

你可能感兴趣的文章
EMQX docker安装及运行
查看>>
使用python和MQTT.fx连接mqtt
查看>>
EMQTT的ACL鉴权(topic权限控制)
查看>>
emqx客户端用户名密码登录验证配置
查看>>
python多线程之信号量semaphore实战
查看>>
ubuntu下忘记mysql密码重置方式
查看>>
ubuntu不在python虚拟环境下使用uwsgi启动django及nginx代理配置
查看>>
flask ORM之SQLAlchemy基本架构实战
查看>>
Python2和python3中类型判断
查看>>
Centos 7上搭建flask项目实战
查看>>
搭建nginx+uwsgi+flask遇到KeyError: 'REQUEST_METHOD'
查看>>
Nginx+uwsgi+flask部署实战
查看>>
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position 9737: illegal multibyte sequence
查看>>
python中导入 train_test_split提示错误
查看>>
django创建项目的一些命令
查看>>
python3.6合并多个文件代码
查看>>
python中enumerate函数实战
查看>>
python中使用shuffle和permutation对列表进行随机洗牌区别
查看>>
使用js连接mqtt
查看>>
ubuntu下mysql数据库docker的定时备份脚本
查看>>