git 修改代码后如何提交

1. 先git pull 一下

2. 切换到自己的分支,如果有的话

git checkout -b dev03_qhq origin/dev03_qhq

 

3. commit 一下,用a 可以省略一步  git add

git commit -a -m "addcharge0415b"

 

4. 上报代码

git push origin dev03_qhq

posted @ 2021-04-15 18:31  429512065  阅读(1147)  评论(0编辑  收藏  举报