随笔分类 -  Git

Git - Merge Request
摘要:选择reviewer,即可提交 阅读全文

posted @ 2021-12-22 14:00 frank_cui 阅读(15) 评论(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 阅读(144) 评论(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 阅读(1384) 评论(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 阅读(8862) 评论(0) 推荐(0) 编辑

Git - master|merging
摘要: 阅读全文

posted @ 2021-12-02 16:41 frank_cui 阅读(24) 评论(0) 推荐(0) 编辑

Git - Commit message does not follow the pattern
摘要: 阅读全文

posted @ 2021-12-01 09:41 frank_cui 阅读(982) 评论(0) 推荐(0) 编辑

Git - ssh: Could not resolve hostname gitlab.nomura.com:xxxx Name or service not known
摘要: 阅读全文

posted @ 2021-12-01 09:40 frank_cui 阅读(349) 评论(0) 推荐(0) 编辑

git - Mac生成SSH key
摘要:步骤1.检查是否已经存在SSH Key 打开电脑终端,输入以下命令: ls -al ~/.ssh 会出现两种情况 步骤2. 生成/设置SSH Key 继续上一步可能出现的情况 (1)情况一: 终端出现文件id_rsa.pub 或 id_dsa.pub,则表示该电脑已经存在SSH Key,此时可继续输 阅读全文

posted @ 2019-12-14 19:31 frank_cui 阅读(1129) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

导航

统计

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