随笔分类 -  代码版本管理

摘要:git clone --depth 1 --recurse-submodules https://oauth2:<TOKEN>@host/path.git 阅读全文
posted @ 2025-06-23 09:44 KeepSmiling_me 阅读(11) 评论(0) 推荐(0)
摘要:导出:git clone --mirror http://test.ks.x/devops/demo.git在新的gitlab创建demo项目,复制http地址 导入:git push --mirror http://opne.ks/devops/demo.git 阅读全文
posted @ 2024-06-12 11:16 KeepSmiling_me 阅读(35) 评论(0) 推荐(0)
摘要:git bash 执行命令,生命公钥和私钥 命令: ssh-keygen -t rsa 生成的ssh key 默认路径为:C:\Users\电脑admin\.ssh .pub后缀为公钥 阅读全文
posted @ 2020-12-13 12:04 KeepSmiling_me 阅读(137) 评论(0) 推荐(0)