The following is a link to the online source repository.
Contributors 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:
git checkout master git pull <apache/singa upstream> master:master git checkout <new feature branch> git rebase master
- To connect your Apache account with your Github account, Please follow the instructions on: https://gitbox.apache.org/setup/. After that you can directly merge PRs using GitHub’s UI.
To merge pull request https://github.com/apache/singa/pull/xxx, the following instructions should be executed,
git clone https://github.com/apache/singa.git git remote add asf https://gitbox.apache.org/repos/asf/singa.git # optional git pull asf master:master git fetch origin pull/xxx/head:prxxx git merge prxxx git push asf master:master
- To migrate from git-wip-us.apache.org to Gitbox: If you already cloned the SINGA repository from the old repo https://git-wip-us.apache.org/repos/asf/singa.git, you can update the master by:
git remote set-url origin email@example.com/apache/singa.git