You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/03/05 07:01:57 UTC

[dolphinscheduler-website] branch master updated: Add new Branch in submit-code (#704)

This is an automated email from the ASF dual-hosted git repository.

zhongjiajie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new fbfda52  Add new Branch in submit-code (#704)
fbfda52 is described below

commit fbfda5247b1438aa679f49892ed1756764621da1
Author: yimaixinchen <yi...@163.com>
AuthorDate: Sat Mar 5 15:01:49 2022 +0800

    Add new Branch in submit-code (#704)
---
 community/en-us/development/submit-code.md | 10 ++++++++--
 community/zh-cn/development/submit-code.md | 13 +++++++++++--
 2 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/community/en-us/development/submit-code.md b/community/en-us/development/submit-code.md
index a827893..ac87950 100644
--- a/community/en-us/development/submit-code.md
+++ b/community/en-us/development/submit-code.md
@@ -38,11 +38,17 @@ git checkout -b dev-1.0 upstream/dev-1.0
 git push --set-upstream origin dev-1.0
 ```
 
-* After modifying the code locally, submit it to your own repository:
+* Create new branch
+```
+git checkout -b xxx origin/dev
+```
+
+Make sure that the branch `xxx` is building successfully on the latest code of the official dev branch
+* After modifying the code locally in the new branch, submit it to your own repository:
   
 `git commit -m 'commit content'`
     
-`git push`
+`git push origin xxx --set-upstream`
 
 * Submit changes to the remote repository
 
diff --git a/community/zh-cn/development/submit-code.md b/community/zh-cn/development/submit-code.md
index 3078827..e473112 100644
--- a/community/zh-cn/development/submit-code.md
+++ b/community/zh-cn/development/submit-code.md
@@ -45,11 +45,20 @@ git checkout -b dev-1.0 upstream/dev-1.0
 git push --set-upstream origin dev-1.0
 ```
 
-* 在本地修改代码以后,提交到自己仓库:
+* 新建分支
+
+```
+git checkout -b xxx origin/dev
+```
+
+确保分支`xxx`是基于官方dev分支的最新代码
+
+
+* 在新建的分支上本地修改代码以后,提交到自己仓库:
   
     `git commit -m 'commit content'`
     
-    `git push`
+    `git push origin xxx --set-upstream`
 
 * 将修改提交到远端仓库