随笔分类 -  Git

摘要:为git设置sock5代理 为git设置sock5代理 git config --global http.proxy 'socks5://127.0.0.1:7891' #改成自己的端口 git config --global https.proxy 'socks5://127.0.0.1:7891 阅读全文
posted @ 2024-08-01 22:59 Ladisson-blog 阅读(79) 评论(0) 推荐(0) 编辑
摘要:clone子仓库有两种办法。 1、一次性把主仓库和子仓库全部clone下来。 git clone --recursive <repo-url> 2、先clone主仓库,然后再clone子仓库 git clone <repo-url> cd <repo> git submodule update -- 阅读全文
posted @ 2024-07-21 09:52 Ladisson-blog 阅读(24) 评论(0) 推荐(0) 编辑
摘要:1、创建仓库和配置仓库 # 初始化仓库 git init git add . git commit -m "init commit" git remote add origin <https://...> git push -u origin master # 查看git用户名和邮箱 git con 阅读全文
posted @ 2024-03-04 15:09 Ladisson-blog 阅读(27) 评论(0) 推荐(0) 编辑

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