随笔分类 -  git

git 合并两个仓库以及子仓库的使用
摘要:一、仓库合并,仓库搬迁 仓库1: first1 < 2 < 3 < 4 < 8 仓库2:first1 < 2 < 3 < 5 < 6 < 7 这两个仓库在前3次提交一样,之后分别进行开发,现在要把仓库2合并到仓库1 1、进入仓库1 git remote add old_cnstream git@17 阅读全文
posted @ 2020-12-15 11:45 wulc++
github 配置 和 gitlab配置
摘要:1、生成ssh秘钥 gitlab: ssh-keygen -t rsa -C"youemail@mail.com" -f ~/.ssh/gitlab_id-rsa github: ssh-keygen -t rsa -C"youemail@mail.com" -f ~/.ssh/github_id- 阅读全文
posted @ 2020-11-05 19:54 wulc++ 阅读(380) 评论(0) 推荐(0)
git指令
摘要:参考: https://blog.csdn.net/Mr_YanYan/article/details/80049306 参考: https://www.open-open.com/lib/view/open1476069597550.html (很好的一篇博文) 1、从一个分支中创建一个新的分支 阅读全文
posted @ 2020-08-20 20:18 wulc++ 阅读(141) 评论(0) 推荐(0)