Skip to content

Instantly share code, notes, and snippets.

Created June 23, 2011 09:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/1042256 to your computer and use it in GitHub Desktop.
Save anonymous/1042256 to your computer and use it in GitHub Desktop.
デザイナー向けのGitの手順。詳しくは htt://kuroigamen.com にいろいろあります。
1. git clone
リモートリポジトリをローカルにクローン(複製)します。
2. cd
クローンしたディレクトリへ移動(Change Directry)
3. bundle
必要なGemを一気にインストール
4. rake db:migrate
DBのセットアップ
5. rails s
サーバ起動
6. git add
新たに作ったファイル(画像など)をバージョン管理に追加
7. git commit
今までの作業をローカルリポジトリにコミット
8. git push
ローカルリポジトリの状態をリモートリポジトリに反映
9. git pull
現在のリモートリポジトリの状態を自分のローカルリポジトリに反映
(ローカルリポジトリをアップデート)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment