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
82
とってよかったAWS SAP
tockey
0
70
パスワードレス認証 パスキーのすべて
tockey
0
110
シングルサインオンを導入したら運用がこんなに楽になった!
tockey
0
260
Other Decks in Programming
See All in Programming
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
520
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
180
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
620
FreeBSDでZabbixを動かす
kenkino
0
310
setup-vp GitLab対応の裏側
naokihaba
0
110
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
360
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
120
Heart of Swift Concurrency
koher
0
920
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
180
一人だけ、Kiroが静止する日
hideg
0
120
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
490
新卒PdEのリアル
ryu1013
1
510
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
580
The Curse of the Amulet
leimatthew05
3
15k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
500
Exploring anti-patterns in Rails
aemeredith
4
510
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
The SEO Collaboration Effect
kristinabergwall1
1
570
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
Utilizing Notion as your number one productivity tool
mfonobong
4
590
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
500
Un-Boring Meetings
codingconduct
0
420
What's in a price? How to price your products and services
michaelherold
247
13k
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 おわり