Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
コミット履歴キレイですか / clean up commit logs
Search
tockey
February 22, 2023
Programming
0
5.8k
コミット履歴キレイですか / clean up commit logs
tockey
February 22, 2023
Tweet
Share
More Decks by tockey
See All by tockey
とってよかったAWS SAP
tockey
0
17
パスワードレス認証 パスキーのすべて
tockey
0
33
シングルサインオンを導入したら運用がこんなに楽になった!
tockey
0
190
Other Decks in Programming
See All in Programming
まだ間に合う!Claude Code元年をふりかえる
nogu66
5
890
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
1.6k
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
2
560
バックエンドエンジニアによる Amebaブログ K8s 基盤への CronJobの導入・運用経験
sunabig
0
170
Navigating Dependency Injection with Metro
l2hyunwoo
1
170
GoLab2025 Recap
kuro_kurorrr
0
780
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.4k
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
110
tparseでgo testの出力を見やすくする
utgwkk
2
270
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
300
クラウドに依存しないS3を使った開発術
simesaba80
0
150
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
160
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
120
Mind Mapping
helmedeiros
PRO
0
38
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
170
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Ethics towards AI in product and experience design
skipperchong
1
140
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
80
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
2
65
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
32
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.8k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
310
Transcript
コミット履歴キレイですか 2023/2/22 @ハードル激低LT大会ッ! ENECHANGE株式会社 tockey
2 自己紹介 SIer/Web系企業 • 業務基幹系システムの保守運用、iOSアプリの機能追加 ・保守運用 などを担当 • Swift /
Scala /Rails など 現職:ENECHANGE株式会社 • バックエンドを主戦場として、システム開発PJのリードエ ンジニアをやっています。 • 直近はterraformでインフラ修正もやっています。 HN:tockey Twitter: @tockeysan_ github: takutoki
3 • よくわからないコミットメッセージだけで埋まってませんか? コミットログは汚くなりがち
4 rebaseを使おう その1
5 rebaseを使おう その1 • 複数のコミットをまとめて、コミットメッセージを打ち直す ◦ pick = そのまま1コミットとして使う ◦
s = squch 一つ上のコミットと一緒のコミットにまとめる
6 rebaseを使おう その1 • コミットメッセージの入力
7 rebaseを使おう その1 • できた!
8 マージ先ブランチの取り込み • git merge develop を繰り返す日々。。。 ◦ 新しいコミットが積まれていく。。。
9 rebaseを使おう その2
10 rebaseを使おう その2 https://git-scm.com/book/en/v2/Git-Branching-Rebasing feature develop feature develop
11 注意! • コミットハッシュが変わる ◦ リモートにすでにpushしていた場合、push時に-f(force push)が必要 ◦ push先に注意
12 おわり