随笔分类 -  Git

摘要: 阅读全文
posted @ 2024-01-10 19:38 淡怀 阅读(273) 评论(0) 推荐(0) 编辑
摘要:一、问题 在Git向服务器提交代码时,出现如下错误 missing Change-Id in commit message footer 二、原因 项目仓库.git/hooks目录下,commit-msg文件缺失。 三、解决 GIT打开项目路径 以此输入以下命令 gitdir=$(git rev-p 阅读全文
posted @ 2022-02-23 17:14 淡怀 阅读(2015) 评论(0) 推荐(0) 编辑
摘要:一、配置git git config --global user.name "用户名" # 请换成你自己的名字 git config --global user.email "邮箱" # 请换成你自己的邮箱 git config --global push.default simple # 我们要求 阅读全文
posted @ 2019-03-30 14:00 淡怀 阅读(3329) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/04606ea36be9 阅读全文
posted @ 2019-03-30 13:26 淡怀 阅读(2053) 评论(0) 推荐(0) 编辑
摘要:https://jingyan.baidu.com/article/9c69d48fe68cce13c9024e9c.html修改远程仓库的地址:https://blog.csdn.net/u011136197/article/details/79429000/ 备注: 如果push被拒绝 在自己项 阅读全文
posted @ 2019-03-30 13:16 淡怀 阅读(217) 评论(0) 推荐(0) 编辑
摘要:Git安装及使用: https://www.cnblogs.com/ximiaomiao/p/7140456.html 一、配置Git 1、Windows下直接启动git 2、设置用户名和邮箱 git config --global user.name "用户名" # 请换成你自己的名字 git c 阅读全文
posted @ 2019-03-24 00:12 淡怀 阅读(191) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示