Reference
Command Line
-
git status 命令可以列出当前目录所有还没有被git管理的文件和被git管理且被修改但还未提交(git commit)的文件.。
- git add docs/businesses/tasks.md 添加到暂存区
- git checkout -b 分支名称 创建分支
- git checkout 分支// 切换到已经存在的分支
- git commit -m 'docs: add bussinesses/tasks' 提交备注
- git log
- git push -u origin [分支名称]: -u(--set-upstream)
- git merge
- git remote add origin <your repo url> 绑定远程仓库
note
- git push -h 查看git push 后所有命令说明
- gitflow简介
- master 分支只存放历史发布版本的源代码,develop分支则用来整合各个feature分支
master和develop 分支

feature分支:每一个特性都必须在自己的分支里开发

release分支:待发布分支,发布前的测试

hotfix分支:用于修改项目发布后的bug

**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。