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
Tips and Tricks: Gotta Git Them All
Search
Jamie Strusz
September 15, 2016
Technology
0
73
Tips and Tricks: Gotta Git Them All
Jamie Strusz
September 15, 2016
Tweet
Share
More Decks by Jamie Strusz
See All by Jamie Strusz
Universe 2022 - Strengthen your innersource culture
allthedoll
0
25
IntoTech Vienna 2017 - Arduino Workshop
allthedoll
0
74
The Internet of Things: Connecting your world for a positive impact
allthedoll
0
93
Having an invisible disease at GitHub
allthedoll
0
49
GitHub and the Internet of Things: Automate IoT Hardware
allthedoll
0
89
GitHub and the Internet of Things: Automate IoT Hardware
allthedoll
0
130
Blasting off with the GitHub API
allthedoll
0
120
Other Decks in Technology
See All in Technology
リーダーになったら未来を語れるようになろう/Speak the Future
sanogemaru
0
230
非エンジニアのあなたもできる&もうやってる!コンテキストエンジニアリング
findy_eventslides
3
880
いまさら聞けない ABテスト入門
skmr2348
1
180
「AI駆動PO」を考えてみる - 作る速さから価値のスループットへ:検査・適応で未来を開発 / AI-driven product owner. scrummat2025
yosuke_nagai
0
470
DataOpsNight#8_Terragruntを用いたスケーラブルなSnowflakeインフラ管理
roki18d
1
310
非同期処理実行基盤 Delayed脱出 → Solid Queue完全移行への旅路。
srockstyle
3
1.6k
FastAPIの魔法をgRPC/Connect RPCへ
monotaro
PRO
1
660
PLaMoの事後学習を支える技術 / PFN LLMセミナー
pfn
PRO
9
3.6k
実装で解き明かす並行処理の歴史
zozotech
PRO
1
250
SOC2取得の全体像
shonansurvivors
1
350
LLMアプリケーション開発におけるセキュリティリスクと対策 / LLM Application Security
flatt_security
7
1.7k
Railsアプリケーション開発者のためのブックガイド
takahashim
13
5.9k
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
890
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Docker and Python
trallard
46
3.6k
Visualization
eitanlees
148
16k
Fireside Chat
paigeccino
40
3.7k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
How to Ace a Technical Interview
jacobian
280
23k
The Cost Of JavaScript in 2023
addyosmani
53
9k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Transcript
Tips and Tricks Gotta Git Them All
Tips and Tricks Gotta Git Them All
! Brent Beer Solutions Engineer @ GitHub likes coffee; wishes
Daft Punk and Justice would do a back-to-back set ! brntbeer
! Jamie Strusz Services Engineer @ GitHub Likes art; travels
in a vanagon with dog and boyfriend ! allthedoll
The Agenda • Git • Git LFS • GitHub •
Gists • Atom
Git • Workflow efficiencies • Advance usage • Git LFS
git log -L <start>,<end>:FILE
git log -L 3,15:commands/command_clone.go
git config --global color.ui auto
git status -sb
Before: After:
None
None
git grep
git config --global help.autocorrect 10
None
git add -p
git merge --no-edit
git rebase -i
git rebase -i HEAD~5
git rebase -i --squash
git lfs
git lfs prune
git lfs prune -c
git config lfs.fetchexclude "media/ reallybigfiles"
git lfs clone
GitHub • Collaboration • Discovery and Speed • Gists
svn checkout https:// github.com/github/git-lfs
github.com/explore/newsletter
Collaborate with forks from contributors
Compare ranges: https://github.com/atom/atom/ compare/master...1.11-releases
Patch ranges: https://github.com/atom/atom/ compare/master...1.11-releases.patch
Anchors on line numbers
references and closing issues/PRs
Picture of closing an issue from the merge box?
Filter pull requests by status
code search
Add syntax highlighting to codeblocks in markdown files
None
Keyboard shortcuts
Gists as full repos: git clone https://gist.github.com/allthedoll/ 966bebdbc6ed6b78942e6d9b1369c0b3
EMBEDDED GIST OMG
Atom • Keyboard commands • Packages
alt-g
cmd-shift-p
markdown preview package
merge conflict package
git-time-machine
markdown-pdf
FIN