commit logのrebase
githubのcommit logを修正したい場合について。よくあるシーンは、circleCIの稼働確認があって修正したい場合かな。
git log --oneline
3fb24a2 (origin/feature/add_circleCI, feature/add_circleCI) fix: fix conflict
8d4cf7b chore: add context for test
5a977c7 chore: add context for test
bfbd691 chore: add context for test
ee625d9 chore: add context for test
77e4239 chore: add context for test
4ad0840 chore: modify to run container on circle ci
23cc254 chore: modify to run container on circle ci
a1ab5ed chore: add host config
125d480 chore: enable batch queries
34b02ba chore: add migration
e248181 chore: add docker setting
fd9ef64 chore: dep ensure
b802d45 feat: add migration function
こんな感じで、ログの一覧が出る。
git rebase -i 23cc254
ってやったらコミットがまとめられと思ったんだけど・・・うまくいかない。 多分branchがわかれてるからだと思う。今回はここまで。とりあえずrebaseは難しい。一回理解整理しないとだめだ。