[calcite] branch master updated: Update instructions for pushing to the git site repository
This is an automated email from the ASF dual-hosted git repository. francischuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/calcite.git The following commit(s) were added to refs/heads/master by this push: new ef9f926 Update instructions for pushing to the git site repository ef9f926 is described below commit ef9f926061de21ad713a76ec3ec8110e5cbd92bf Author: Francis Chuang AuthorDate: Mon Feb 18 10:35:26 2019 +1100 Update instructions for pushing to the git site repository --- site/README.md | 28 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/site/README.md b/site/README.md index 662ca86..831f220 100644 --- a/site/README.md +++ b/site/README.md @@ -82,14 +82,26 @@ As you make changes to the site, the site will automatically rebuild. ## Pushing to site -1. `cd site` -2. `svn co https://svn.apache.org/repos/asf/calcite/site target` -3. `cd target` -4. `svn status` -5. You'll need to `svn add` any new files -6. `svn ci` - -Within a few minutes, svnpubsub should kick in and you'll be able to +1. `cd site/target` +2. `git init` +3. `git remote add origin https://github.com/apache/calcite-site` +4. `git reset origin/master --soft` + +If you have not regenerated the javadoc and they are missing, restore them: +6. `git reset -- apidocs/` +7. `git reset -- testapidocs/` +8. `git checkout -- apidocs/` +9. `git checkout -- testapidocs/` + +Restore the avatica site +10. `git reset -- avatica/` +11. `git checkout -- avatica/` + +10. `git add .` +11. Commit: `git commit -m "Your commit message goes here"` +12. Push the site: `git push origin master` + +Within a few minutes, gitpubsub should kick in and you'll be able to see the results at [calcite.apache.org](https://calcite.apache.org/).
[calcite] branch master updated: Update instructions for pushing to the git site repository
This is an automated email from the ASF dual-hosted git repository. francischuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/calcite.git The following commit(s) were added to refs/heads/master by this push: new c0578ad Update instructions for pushing to the git site repository c0578ad is described below commit c0578ad39c02cc92b5cdea58bd33149e1048c64e Author: Francis Chuang AuthorDate: Mon Feb 18 10:30:40 2019 +1100 Update instructions for pushing to the git site repository --- site/README.md | 28 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/site/README.md b/site/README.md index 662ca86..831f220 100644 --- a/site/README.md +++ b/site/README.md @@ -82,14 +82,26 @@ As you make changes to the site, the site will automatically rebuild. ## Pushing to site -1. `cd site` -2. `svn co https://svn.apache.org/repos/asf/calcite/site target` -3. `cd target` -4. `svn status` -5. You'll need to `svn add` any new files -6. `svn ci` - -Within a few minutes, svnpubsub should kick in and you'll be able to +1. `cd site/target` +2. `git init` +3. `git remote add origin https://github.com/apache/calcite-site` +4. `git reset origin/master --soft` + +If you have not regenerated the javadoc and they are missing, restore them: +6. `git reset -- apidocs/` +7. `git reset -- testapidocs/` +8. `git checkout -- apidocs/` +9. `git checkout -- testapidocs/` + +Restore the avatica site +10. `git reset -- avatica/` +11. `git checkout -- avatica/` + +10. `git add .` +11. Commit: `git commit -m "Your commit message goes here"` +12. Push the site: `git push origin master` + +Within a few minutes, gitpubsub should kick in and you'll be able to see the results at [calcite.apache.org](https://calcite.apache.org/).