Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
コミット履歴キレイですか / clean up commit logs
Search
tockey
February 22, 2023
Programming
6.1k
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
86
とってよかったAWS SAP
tockey
0
79
パスワードレス認証 パスキーのすべて
tockey
0
120
シングルサインオンを導入したら運用がこんなに楽になった!
tockey
0
270
Other Decks in Programming
See All in Programming
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
710
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
310
Jetpack Compose Mechanisms
skydoves
3
820
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
Domain-Driven Transformation
hschwentner
2
2.3k
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
1.4k
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
490
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
Event is what happens
moro
2
810
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
Darren the Foodie - Storyboard
khoart
PRO
4
4k
How STYLIGHT went responsive
nonsquared
100
6.3k
Facilitating Awesome Meetings
lara
57
7.2k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
630
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Designing for Performance
lara
612
70k
Building an army of robots
kneath
307
47k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
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 おわり