# ctng **Repository Path**: dong-cheng/ctng ## Basic Information - **Project Name**: ctng - **Description**: 平时学习的一些笔记 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-30 - **Last Updated**: 2022-09-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ctng #### 推送到gitee git checkout -b feature-branch //创建并切换到分支 feature-branch git remote add gitee git@gitee.com:dong-cheng/ctng.git git remote -v git push origin feature-branch:feature-branch //推送本地的 feature-branch(冒号前面的)分支到远程 origin 的 feature-branch(冒号后面的)分支(没有会自动创建) git tag [name] //创建版本 git push origin [name] //创建远程版本(本地版本 push 到远程) #### git clone 指定分支操作 git clone -b 远程分支名 远程仓库地址 #### 介绍 平时学习的一些笔记 #### git规范 feat 新增一个功能 fix 修复 bug docs 文档变更 style 代码格式(不影响功能,例如空格、分号等格式修正) refactor 代码重构 perf 改善性能 test 测试 build 变更项目构建或外部依赖(例如 scopes: webpack、gulp、npm 等) ci 更改持续集成软件的配置文件和 package 中的 scripts 命令,例如 scopes: Travis, Circle 等 chore 变更构建流程或辅助工具 revert 代码回退