Friday, September 12, 2008

Gistの使い方

  1. 自分のアカウントでコードをペーストする
  2. Terminalでdropbox/github/に移動
  3. Gistの対象コードのprivate cloneからコードをpullする(git clone git@gist.github.com:10357.git git-10357)
  4. pullしたコードを修正する
  5. 修正をコミットする(git commit -a)
  6. サーバにpushする(git push)

No comments: