2016 03 27 Workshop 筆記 - wush978/DataScienceAndR GitHub Wiki

  • Slide
  • Yaml 格式()
  • Rstudio / Git
    • Tools -> Global Option -> Git/SVN 確認Git有設定成功
    • Github Create Account -> Github Fork https://github.com/wush978/DataScienceAndR -> Copy Repository URL
    • Rstudio -> New Project -> From Version Control -> Git -> 將複製的 Repository URL 貼至 "Repository URL"
    • 右上角 -> Git Tab -> branch 從 gh-pages 切換至 origin/course
    • 右上角 -> 齒輪 -> Shell -> 輸入:git checkout -b course
    • 安裝swirlify -> library(swirlify) (有出錯則重新啟動R後再library(swirlify)) -> new_lesson("Demo", ".")
    • Git add Demo
    • Git commit
      • git config --global user.name "<your name>", git config --global user.email "<user email>"
    • Git push (first push) git push -u origin course
  • Github PR
    • https://github.com//DataScienceAndR/pulls 點選 New Pull Request
      • base 選: wush978/DataScienceAndR , dev/course
      • compare 選: /DataScienceAndR , course
      • 點 Create pull request
    • 輸入相關的訊息,或是cite 相關的issue ex: #281
    • Create
⚠️ **GitHub.com Fallback** ⚠️