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
あなたの知らない(かもしれない)Git
Search
acomagu
October 21, 2019
Programming
2
100
あなたの知らない(かもしれない)Git
191021 Yamashou会
acomagu
October 21, 2019
Tweet
Share
More Decks by acomagu
See All by acomagu
Stripe SSoT をするべきか否か
acomagu
0
40
JP_Stripes: リコンサイル(突合処理)のテスト
acomagu
0
70
「境界付けられたコンテキスト間の関係」についてもっと語ろう
acomagu
0
67
地方 MaaS 事例: アプリの進化に伴って変化してきた Stripe 利用方法
acomagu
0
240
Stripe リコンサイルの勘所
acomagu
0
410
CDK 一発で全てのエラーログを Slack に流す
acomagu
0
2.1k
AWS CDK を支える Constructs について
acomagu
0
160
DDDとは結局何なのか
acomagu
0
290
API Gateway HTTP API について
acomagu
0
130
Other Decks in Programming
See All in Programming
「”誤った使い方をすることが困難”な設計」で良いコードの基礎を固めよう / phpcon-odawara-2025
taniguhey
0
120
アプリを起動せずにアプリを開発して品質と生産性を上げる
ishkawa
0
2.6k
SQL Server ベクトル検索
odashinsuke
0
170
Signal-Based Data FetchingWith the New httpResource
manfredsteyer
PRO
0
160
MCP調べてみました! / Exploring MCP
uhzz
2
2.2k
AI Coding Agent Enablement - エージェントを自走させよう
yukukotani
13
5.8k
php-fpm がリクエスト処理する仕組みを追う / Tracing-How-php-fpm-Handles-Requests
shin1x1
5
2.9k
Memory API : Patterns, Performance et Cas d'Utilisation
josepaumard
0
110
サービスレベルを管理してアジャイルを加速しよう!! / slm-accelerate-agility
tomoyakitaura
1
170
AHC045_解説
shun_pi
0
480
Qiita Bash
mercury_dev0517
1
190
State of Namespace
tagomoris
4
760
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
A Tale of Four Properties
chriscoyier
158
23k
The Cult of Friendly URLs
andyhume
78
6.3k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
104
19k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
A designer walks into a library…
pauljervisheath
205
24k
GitHub's CSS Performance
jonrohan
1030
460k
Building an army of robots
kneath
304
45k
StorybookのUI Testing Handbookを読んだ
zakiyama
29
5.6k
Transcript
あなたの知らない (かもしれない) Git 2 @acomagu 伊藤勇希 191021 #Yamashou会
> man $USER - @acomagu (あこまぐ) - s1230004 - お年寄り(どうか年齢を計算しないでください
) - 最近の趣味: 音ゲー / VTuber - 最近好きな技術: Go / TypeScript / Linux
@ HEAD の alias e.g. $ git reset @
git diff --color-moved コードの移動を色付け表示する log 等でもつかえる
None
git diff master.. C..F で「C と F の分岐元から F まで」
を表す ↑は git diff $(git merge-base master @) に同じ log 等割とどこでもつかえる man git-rev-parse を見てみてください!
git diff --ignore-space-change インデントだけの変更を無視する 全 Lisper が歓喜した機能(らしい)
git diff git diff --ignore-space-change
git rebase -i -r/--rebase-merges マージコミットを保持したまま rebase をする -p/--preserve-merges に変わる機能 以下:
github.com/acomagu/material-conflict
None
None
None
None
None
git rerere コンフリクトの解決方法を覚えておいてくれる $ git config --global rerere.enable true 全員すべき!!!
None
None
None
まとめ - @ HEAD のエイリアス - git log --color-moved コードの移動を色付け表示する
- git diff master.. ブランチを切ったときからのdiff - git diff --ignore-space-changes インデントだけの変更を無視 - git rebase --rebase-merges rebase 時にマージコミットを復元する - git rerere コンフリクトの解決方法を覚えてくれる
Thanks!