Archive for git

git pull requestメモ

  • githubでfork→作業→commit→rebaseでまとめる→push→GitHubでpull request
  • git rebase -i [対象commitのhash] → 対象commitのhash~現在までがでてくる
    • でてくるエディタで、pickをsquash にすると、その変更と直前の変更をまとめる

参考リンク