随笔分类 -  git

摘要:报错如下 2019-03-20_09:49:06.47576 level=error ts=2019-03-20T09:49:06.475516078Z caller=main.go:624 err="opening storage failed: block dir: \"/var/opt/git 阅读全文
posted @ 2019-03-20 17:59 NHZ-M 阅读(1219) 评论(0) 推荐(0) 编辑
摘要:删除远端文件 git revert commit_id -m 数字是针对,merge提交点的操作 git rm -r --cached *.iml 删除远端 添加.gitignore配置忽略文件规则 添加.gitignore文件 touch .gitignore 配置忽略的文件或者文件夹,通过vim 阅读全文
posted @ 2019-03-20 13:38 NHZ-M 阅读(454) 评论(0) 推荐(0) 编辑
摘要:1. 拉取gitlab镜像 docker pull gitlab/gitlab-ce 2. 运行gitlab实例 GITLAB_HOME=`pwd`/data/gitlab docker run -d \ --hostname gitlab \ --publish 8443:443 --publis 阅读全文
posted @ 2019-03-05 16:24 NHZ-M 阅读(288) 评论(2) 推荐(0) 编辑
摘要:git 生成 公匙密匙 rsa key 打开gitbash 键入自己的git账号 ssh-keygen -t rsa -b 4096 -C "" 当提示 "Enter file in which to save the key," 按回车继续.(默认配置) 当提示, Enter passphrase 阅读全文
posted @ 2019-01-11 14:34 NHZ-M 阅读(260) 评论(0) 推荐(0) 编辑

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