Commit 9ccd3f0c authored by JingChao's avatar JingChao

Updates ionic/git-code.md

Auto commit by GitBook Editor
parent 402d9a59
## 项目上git操作规范
* 项目上代码一般存放在develop分支
* git checkout -b a //从develop分支切换到自己的分支
* code //在自己分支编写代码
* git add *
* git commit -m 'info' //提交
* git checkout develop //切换回develop分支
code //编写代码
git add *
git commit -m 'info' //提交
checkout develop //切换回develop分支
git pull //更新代码
git merge a //merge自己的分支
(success)-> git push //没有冲突,直接提交
(fail)conflict //解决冲突
git add *
git commit -m 'info'
git push //提交 完成
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment