Skip to content

Commit

Permalink
Improve the section.
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed Apr 13, 2012
1 parent 1272368 commit 253b959
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -567,13 +567,13 @@ push したつもりがエラーが出て push できていないこともある
よくある開発のワークフロー
--------------------------

まず、自分の作業環境(MacBook, シェルサーバなど)にブランチを作ります。

リポジトリをクローン:
まず、自分の作業環境(MacBook, シェルサーバなど)にリポジトリをクローンします。

sh% git clone git://src1.dev/proj1

ここでは、メインブランチを`master`とします。
sh% cd proj1

ここでは、メインブランチを`master`とします。(違う場合は適宜読み替えてください)

そこから開発する機能(あるいはバグ修正)用のブランチを作成して切り替えます。

Expand All @@ -590,6 +590,8 @@ push したつもりがエラーが出て push できていないこともある
dev% cd /home/seesaa/proj1
dev% git nbr taro-feature1 origin/taro-feature1

これで、リモート(`origin`)上の同じブランチを介して作業環境と実行環境で変更をやりとりできるようになりました。

ここまでが最初にやることで、あとは以下を繰り返します。

作業環境でファイルを編集してcommitし、確認したいところでpushします。
Expand Down

0 comments on commit 253b959

Please sign in to comment.