**GitHub上での開発の流れ [#ea50cecb]

リポジトリからマスターをClone
 git clone https://github.com/masatomix/ui-router-sample.git     ←URLは例
 cd  git clone  ui-router-sample

Branchに切替
 git branch   一覧
 git branch dev  作成
 git checkout dev 切替

いろいろ修正、そのあとコミット
 git diff
 git commit

コミットされた(( not stagedなファイルがあれば -a オプションつける))

リポジトリへプッシュ 
 git push origin dev

あとはGithub上でプルリクエストして、それをマージ。



**備忘録 [#z2e323bd]
https://git-scm.com/book/ja/v1/Git-%E3%81%AE%E5%9F%BA%E6%9C%AC-%E5%A4%89%E6%9B%B4%E5%86%85%E5%AE%B9%E3%81%AE%E3%83%AA%E3%83%9D%E3%82%B8%E3%83%88%E3%83%AA%E3%81%B8%E3%81%AE%E8%A8%98%E9%8C%B2

ステータスのチェック
 git status

差分チェック
 git diff


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS