git clone 仓库地址
git clone -b 分支名 仓库地址 // 本地已经有仓库 git checkout -b 本地分支名 origin/远端分支名 // 本地无仓库 git clone -b 远程分支名 远程仓库地址
git add .
git commit -m '描述'
git pull
git push
git commit --amend (i修改 :wq 保存退出)
yarn
yarn init 生成package.json
yarn 生成node_modules文件夹
yarn set version berry 升级yarn版本,需要能访问github才能成功
npm view yarn versions --json 查看yarn历史版本
提交规范
feat增加新功能fix修复问题/BUGstyle代码风格相关无影响运行结果的perf优化/性能提升refactor重构revert撤销修改test测试相关docs文档/注释chore依赖更新/脚手架配置修改等workflow工作流改进ci持续集成mod不确定分类的修改wip开发中types类型修改