You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "wangwei (JIRA)" <ji...@apache.org> on 2018/05/12 15:37:00 UTC

[jira] [Created] (SINGA-361) Add git instructions for contributors and committers

wangwei created SINGA-361:
-----------------------------

             Summary: Add git instructions for contributors and committers
                 Key: SINGA-361
                 URL: https://issues.apache.org/jira/browse/SINGA-361
             Project: Singa
          Issue Type: Improvement
            Reporter: wangwei


For contributors, they are encouraged to rebase their commits onto the latest master before sending the pull requests to make the git history clean. The following git instructors should be executed after committing the current work,
{code:java}
git checkout master
git pull <apache/incubator-singa upstream> master:master
git checkout <new feature branch>
git rebase master{code}
For committers, to merge pull request [https://github.com/apache/incubator-singa/pull/xxx,] the following instructions should be executed,
{code:java}
$ git clone https://github.com/apache/incubator-singa.git    
$ git remote add asf https://git-wip-us.apache.org/repos/asf/incubator-singa.git
# optional
$ git pull asf master:master
$ git fetch origin pull/xxx/head:prxxx
$ git merge prxxx
$ git push asf master:master{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)