#topicpath
----


#contents



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

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

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

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

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

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

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



-[[すぐ分かる! git の origin と master ってなんだ? - Qiita>http://qiita.com/hshimo/items/99811144bf4a081319e5]]
-[[Git - 変更内容のリポジトリへの記録>http://bit.ly/1YiOXgJ]]


**備忘録 [#z2e323bd]

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

差分チェック
 git diff











----
この記事は
#vote(おもしろかった,そうでもない)

#comment

#topicpath

SIZE(10){現在のアクセス:&counter;}


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