Skip to content

Instantly share code, notes, and snippets.

@Kuniwak
Created September 14, 2013 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kuniwak/6562580 to your computer and use it in GitHub Desktop.
Save Kuniwak/6562580 to your computer and use it in GitHub Desktop.

Pull Requestの手順書

  1. Forkする
  2. git clone https://github.com/foo/bar.git
  3. git checkout -b hogeSpike
  4. commitする
  • 先頭行は80文字以内
  • 先頭行の頭文字は小文字
  • 先頭行のピリオドは省く
    • 修正した問題点、修正の妥当性を本文に含める
  1. git checkout -b hoge
  2. git rebase -i master
  3. 2つめ以降のcommitのpicksquashに書き換え
  4. git push origin hogeo

ソース

GitHubへpull requestする際のベストプラクティス コミットメッセージの作法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment