2025.04.29

git开发流程

团队开发中,遵循一个合理、清晰的 Git 规范,是非常重要的。 否则,每个人都提交一堆杂乱无章的 commit 和 分支,项目很快就会变得难以协调和维护。 分支规范 main:主分支。 主分支,始终...

阅读全文
2025.01.02

Git LFS基本使用

1. Git LFS 简介 Git LFS: An open source Git extension for versioning large filesGit Large File Storage...

阅读全文
2024.04.21

clone github代码出现Operation timed out解决

1234567➜ ~ git clone git@github.com:pkg6/go-requests.gitCloning into 'go-requests'...ssh:...

阅读全文
2024.04.21

git免密拉取代码

方式1: 通过公钥和私钥进行ssh拉去代码生成公钥和私钥命令 1ssh-keygen 拉去代码 1git clone git@github.com:username/repository.git ...

阅读全文
2024.04.21

在项目中git中常见分支及其作用

master/main分支master/main分支是主分支,包含了已经发布到生产环境的稳定,可靠版本的代码。一般情况下,master/main分支应该只用于发布新版本,...

阅读全文