Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
コミット履歴キレイですか / clean up commit logs
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
tockey
February 22, 2023
Programming
6k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
コミット履歴キレイですか / clean up commit logs
tockey
February 22, 2023
More Decks by tockey
See All by tockey
CloudWatchカスタムメトリクスで実現するコードカバレッジの継続的モニタリング
tockey
0
69
とってよかったAWS SAP
tockey
0
55
パスワードレス認証 パスキーのすべて
tockey
0
75
シングルサインオンを導入したら運用がこんなに楽になった!
tockey
0
250
Other Decks in Programming
See All in Programming
Claspは野良GASの夢をみるか
takter00
0
200
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
200
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
150
Developing with AI Agents — Codex, Claude Code & Cowork Practical Guide
x5gtrn
PRO
0
1.3k
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
260
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
180
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
580
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
130
A2UI という光を覗いてみる
satohjohn
1
140
技術的負債解消で開発者の未来を開く- AIの力でコード刷新
kmd2kmd
0
110
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.7k
AI時代のUIはどこへ行く?その2!
yusukebe
22
7.4k
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Building the Perfect Custom Keyboard
takai
2
800
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
400
Typedesign – Prime Four
hannesfritz
42
3.1k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
560
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.9k
First, design no harm
axbom
PRO
2
1.2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
250
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
210
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 おわり