Git Product home page Git Product logo

wp106a's People

Contributors

ccckmit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp106a's Issues

hi

ES2015转码规则

$ npm install --save-dev babel-preset-es2015

react转码规则

$ npm install --save-dev babel-preset-react

ES7不同阶段语法提案的转码规则(共有4个阶段),选装一个

$ npm install --save-dev babel-preset-stage-0
$ npm install --save-dev babel-preset-stage-1
$ npm install --save-dev babel-preset-stage-2
$ npm install --save-dev babel-preset-stage-3

如果老師有更新檔案,本機端該如何同步檔案呢?

分成三種狀況:

一、最簡單卻不建議的方法

  • 刪除原先的檔案,再 clone (複製)檔案下來本機端
git clone https://github.com/istar0me/wp106a.git

二、如果當初 clone 下來的是 fork 老師的版本

  1. 把檔案 pull 下來,會自動合併
git pull

三、如果當初 clone 下來的是 fork 後的 repository (不是老師的)

  1. 顯示目前所有的遠端目錄
git remote -v
  • 應該可看見
origin  https://github.com/istar0me/wp106a.git (fetch)
origin  https://github.com/istar0me/wp106a.git (push)
  1. 新增遠端 Repository (老師版本)
git remote add cccnquWp106a https://github.com/cccnqu/wp106a.git
  1. 此時確認目前追蹤的遠端清單
git remote -v
  • 會發現多出兩組 upstream
cccnquWp106a    https://github.com/cccnqu/wp106a.git (fetch)
cccnquWp106a    https://github.com/cccnqu/wp106a.git (push)
  1. 切換到要做更新的分支
git checkout <branch_name>
  • 一般 branch_name 為 master
  1. 將老師新版本的檔案拉進自己 master 分支
git pull cccnquWp106a master
  1. 完成本機端的更新,此時可選擇將新版的檔案上傳到自己的 GitHub 上
git push origin master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.