git提交代码流程及规范

以增加ptr记录及ipv6功能为例

git status

查看不同

new 本地分支

git checkout -b feature-ptr_ipv6

命名规范-feature

git add app/dns/src/dns-records-ptr.h

git commit -m feature-ptr_ipv6

git push


 

 

git fetch origin feature-isp_translation

git merge origin feature-isp_translation

git pull --rebase origin feature-isp_translation

git push --set-upstream origin feature-isp_translation

posted @ 2023-01-31 15:23  spx88  阅读(63)  评论(0编辑  收藏  举报