Skip to content
uupaa edited this page May 31, 2015 · 5 revisions

Create Repository

MyExample.js リポジトリを GitHub に作成します

  • Creating a new repository を参考にしてください

    • (1) ユーザアカウントを選択します
    • (2) WebModule 名を入力します。 命名規則を参考にしてください
    • (3) Description を適当に入力します
    • (4) Initialize this repository with a README をチェックし、ライセンスを選択します。お勧めは MIT ライセンスです
    • (5) ボタンをクリックしてリポジトリを作成します
    Owner                    Repository name
    +-------------------+   +-------------------+
    | your account  (1) | / | MyExample.js  (2) |
    +-------------------+   +-------------------+
    
    Description (optional)
    +------------------------------------------------+
    | my first WebModule  (3)                        |
    +------------------------------------------------+
    
    [x] Public
    
    [x] Initialize this repository with a README  (4)
    +----------------------+  |  +---------------------------------+
    |                      |  |  | Add a license: MIT License  (4) |
    +----------------------+  |  +---------------------------------+
    
    +------------------------+
    | Create repository  (5) |
    +------------------------+
    

Clone to local

作成した MyExample.js リポジトリを ~/workspace 以下に clone してください。

$ cd ~/workspace

$ git clone git@github.com:uupaa/MyExample.js.git
                           ~~~~~
                           ここにはご自分の GitHub ユーザ名を入力してください。
$ tree ~/workspace -d

~/workspace
    ├── MyExample.js
    └── WebModule
           ├...
           └...