InfPage
文档教程
实用工具
笔记总结
文档教程
实用工具
笔记总结
  • Git:版本控制

Git:版本控制

下载地址

  • Git 官网
  • Git Github
    • Windows Installer x64(安装版)
    • Windows Installer x32(安装版)
    • Windows Portable x64(便携版)
    • Windows Portable x32(便携版)

仓库地址

  • GitHub
  • GitLab
  • Gitee

编辑配置

# 查看配置和存储位置
git config --list --show-origin
# 仅配置当前项目:在项目目录下,删除"--global"并运行命令
# 配置用户信息(GitHub禁止账户邮箱提交,访问Github > Setting > Email > NoReplyEmail中查看匿名邮箱配置)
git config --global user.name "用户名"
git config --global user.email "邮箱"
# 开启文件名大小写敏感
git config --global core.ignorecase false
# 配置网络代理
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
git config --global http.proxy socks5://127.0.0.1:7890
git config --global https.proxy socks5://127.0.0.1:7890

提交规范

  • fix:bug 修复
  • feature:新增功能
  • feature-wip:开发中的功能,比如某功能的部分代码
  • improvement:原有功能的优化和改进
  • style:代码风格调整
  • typo:代码或文档勘误
  • refactor:代码重构(不涉及功能变动)
  • performance/optimize:性能优化
  • test:单元测试的添加或修复
  • chore:构建工具的修改
  • revert:回滚
  • deps:第三方依赖库的修改
  • community:社区相关的修改,如修改 Github Issue 模板等
最近更新: 2026/6/14 07:42
Contributors: PZJPZJPZJ