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
65
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
20
IntoTech Vienna 2017 - Arduino Workshop
allthedoll
0
69
The Internet of Things: Connecting your world for a positive impact
allthedoll
0
53
Having an invisible disease at GitHub
allthedoll
0
43
GitHub and the Internet of Things: Automate IoT Hardware
allthedoll
0
53
GitHub and the Internet of Things: Automate IoT Hardware
allthedoll
0
90
Blasting off with the GitHub API
allthedoll
0
110
Other Decks in Technology
See All in Technology
web-application-security
matsuihidetoshi
1
190
FrontDoorとWebAppsを組み合わせた際のリダイレクト処理の注意点
kenichirokimura
1
710
Azureの基本的な権限管理の勉強会
yhana
1
2k
生産性向上チームの紹介
cybozuinsideout
PRO
1
910
本当のAWS基礎
toru_kubota
1
620
コードや知識を組み込む / Incorporate Code and knowledge
ks91
PRO
0
140
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
4
18k
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
790
BPStudyの200回を中心にIT業界を振り返る。そしてこれから
haru860
3
390
競技としてのKaggle、役に立つKaggle
yu4u
6
2.3k
【SORACOM UG 東海】あらゆるモノがつながる社会へ、IoT と SORACOM
soracom
PRO
1
140
.NET Profiler in 2024.
kkamegawa
2
920
Featured
See All Featured
Statistics for Hackers
jakevdp
790
220k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
7
1.3k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Optimising Largest Contentful Paint
csswizardry
12
2.4k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
From Idea to $5000 a Month in 5 Months
shpigford
378
45k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
358
22k
Practical Orchestrator
shlominoach
183
9.7k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
17
2.7k
How to train your dragon (web standard)
notwaldorf
74
5.2k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
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