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
120
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
あなたの知らない(かもしれない)Git
191021 Yamashou会
acomagu
October 21, 2019
More Decks by acomagu
See All by acomagu
サーバーレスから Durable Execution へ
acomagu
0
26
Payment Records API を使って地域通貨を Stripe Dashboard に統合してみた
acomagu
0
70
Restate x Stripe: 安心して眠れる決済システムを目指して
acomagu
0
19
Stripe SSoT をするべきか否か
acomagu
0
89
JP_Stripes: リコンサイル(突合処理)のテスト
acomagu
0
130
「境界付けられたコンテキスト間の関係」についてもっと語ろう
acomagu
0
180
地方 MaaS 事例: アプリの進化に伴って変化してきた Stripe 利用方法
acomagu
0
670
Stripe リコンサイルの勘所
acomagu
0
540
CDK 一発で全てのエラーログを Slack に流す
acomagu
0
2.3k
Other Decks in Programming
See All in Programming
AI時代に設計が 最大の生産性レバーになる 意図駆動開発とデータを消さない設計|Don't Delete Your Data or Your Intent — Design as the Deepest Lever in the AI Era
tomohisa
1
1.1k
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
220
Dockerfile CMD for Node.js
grazie1999
0
110
仕様書を書く前にハーネスを作る - Agent Native開発は「探索を速く、判定を固く」
gotalab555
4
1.7k
FastAPI の並行処理モデルを完全に理解する
hoto17296
1
380
Go を使い始めて 2 ヶ月の学び / My first two months with Go
contour_gara
0
290
仕様駆動開発へのトライを機に チームに適合する手法を模索し続けている話
freee
PRO
0
580
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
210
片田舎のおっさん、 Swift Buildのダイアモンド問題解決の不具合修正PRを出すが、解決方法がキャッシュをしないようにすることであり、ビルド時間が伸びると言われてマージされないので高速化もする/swiftbuild
yimajo
0
200
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.4k
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
340
30年振りにコンパイラの定数整数除算を改善した
herumi
1
300
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
230
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Claude Code のすすめ
schroneko
67
230k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
30 Presentation Tips
portentint
PRO
1
370
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Why Our Code Smells
bkeepers
PRO
340
58k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
650
The Curse of the Amulet
leimatthew05
2
14k
The Limits of Empathy - UXLibs8
cassininazir
1
610
Designing for Timeless Needs
cassininazir
1
450
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
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!