2021年12月22日

Git - Merge Request

摘要: 选择reviewer,即可提交 阅读全文

posted @ 2021-12-22 14:00 frank_cui 阅读(24) 评论(0) 推荐(0)

Git - Cheey Pick

摘要: 1.找到需要cherry pick的commit,点击: 2.点击cherry pick 3.选择想要把该commit,放在哪个branch中 4.之后会发起一个新的merge request, 填写reviewer即可。 阅读全文

posted @ 2021-12-22 13:50 frank_cui 阅读(158) 评论(0) 推荐(0)

Git - 修改name/author信息

摘要: 问题描述 remote: GL-HOOK-ERR:ERROR: author:“019124”, 格式非法, 应当是你的工号,以K/S/0开头. remote: GL-HOOK-ERR:ERROR: 请重新设置[user]下的name值. 解决方案 1.查看个人用户目录下.gitconfig中的na 阅读全文

posted @ 2021-12-22 13:27 frank_cui 阅读(1552) 评论(1) 推荐(1)

Git - 如何撤销上一次commit操作

摘要: 第一种情况:还没有push,只是在本地commit 1.语法说明 git reset [--soft | --mixed | --hard] [HEAD] --mixed 为默认,可以不用带该参数,用于重置暂存区的文件与上一次的提交(commit)保持一致,工作区文件内容保持不变 git reset 阅读全文

posted @ 2021-12-22 13:19 frank_cui 阅读(9053) 评论(0) 推荐(0)

导航

levels of contents