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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tockey
February 22, 2023
Programming
0
5.9k
コミット履歴キレイですか / clean up commit logs
tockey
February 22, 2023
Tweet
Share
More Decks by tockey
See All by tockey
とってよかったAWS SAP
tockey
0
28
パスワードレス認証 パスキーのすべて
tockey
0
41
シングルサインオンを導入したら運用がこんなに楽になった!
tockey
0
210
Other Decks in Programming
See All in Programming
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
110
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
180
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
550
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
260
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
450
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
940
高速開発のためのコード整理術
sutetotanuki
1
390
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
2026年 エンジニアリング自己学習法
yumechi
0
130
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
BBQ
matthewcrist
89
10k
Facilitating Awesome Meetings
lara
57
6.7k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
120
Leo the Paperboy
mayatellez
4
1.4k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
110
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
110
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
200
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 おわり