git常用命令
- git提交
- git clone -b dev SVN地址//克隆代码
- git add . //提交代码
- git commit -m "备注信息" //备注信息
- git pull origin 分支名 //更新代码
- git push origin 分支名 //提交代码
- git log //查看版本信息
- git reset --hard 复制的版本id //回退版本信息
- git rm -r --cached . //本地缓存删除
- git config --global core.autocrlf true // 提交时转换为LF,检出时转换为CRLF
- git config --global core.autocrlf input // 提交时转换为LF,检出时不转换
- git config --global core.autocrlf false // 提交检出均不转换
- git commit -m
- git commit -m 'fix: #512 bug'
- git commit -m 'feat(): e_zhouguimei'
- git commit --no-verify -m //取消校验
- feat : 新功能
- fix : 修补bug
- docs:文档
- style:格式
- refactor:重构
- test : 增加测试
- chore:构建过程或辅助工具的变动