Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Tips and Tricks Gotta Git Them All
Slide 2
Slide 2 text
Tips and Tricks Gotta Git Them All
Slide 3
Slide 3 text
! Brent Beer Solutions Engineer @ GitHub likes coffee; wishes Daft Punk and Justice would do a back-to-back set ! brntbeer
Slide 4
Slide 4 text
! Jamie Strusz Services Engineer @ GitHub Likes art; travels in a vanagon with dog and boyfriend ! allthedoll
Slide 5
Slide 5 text
The Agenda • Git • Git LFS • GitHub • Gists • Atom
Slide 6
Slide 6 text
Git • Workflow efficiencies • Advance usage • Git LFS
Slide 7
Slide 7 text
git log -L ,:FILE
Slide 8
Slide 8 text
git log -L 3,10:commands/command_clone.go
Slide 9
Slide 9 text
No content
Slide 10
Slide 10 text
git config --global color.ui auto
Slide 11
Slide 11 text
git status -sb
Slide 12
Slide 12 text
Before: After:
Slide 13
Slide 13 text
No content
Slide 14
Slide 14 text
No content
Slide 15
Slide 15 text
git grep
Slide 16
Slide 16 text
git grep 'time_t' -- '*.[ch]'
Slide 17
Slide 17 text
git config --global help.autocorrect 10
Slide 18
Slide 18 text
No content
Slide 19
Slide 19 text
git add -p
Slide 20
Slide 20 text
git merge --no-edit
Slide 21
Slide 21 text
git rebase -i
Slide 22
Slide 22 text
git rebase -i HEAD~5
Slide 23
Slide 23 text
No content
Slide 24
Slide 24 text
git rebase -i --squash
Slide 25
Slide 25 text
git lfs
Slide 26
Slide 26 text
git lfs
Slide 27
Slide 27 text
git lfs prune
Slide 28
Slide 28 text
git lfs prune -c
Slide 29
Slide 29 text
git config lfs.fetchexclude "media/reallybigfiles"
Slide 30
Slide 30 text
git lfs clone
Slide 31
Slide 31 text
GitHub • Collaboration • Discovery and Speed • Gists
Slide 32
Slide 32 text
svn checkout https:// github.com/github/git-lfs
Slide 33
Slide 33 text
github.com/explore/subscribe
Slide 34
Slide 34 text
No content
Slide 35
Slide 35 text
Collaborate with forks from contributors
Slide 36
Slide 36 text
Compare ranges: https://github.com/reactiveui/ ReactiveUI/compare/6.4.0.1...6.5.0
Slide 37
Slide 37 text
No content
Slide 38
Slide 38 text
Patch ranges: https://github.com/atom/atom/ compare/master...1.11-releases.patch
Slide 39
Slide 39 text
Anchors on line numbers
Slide 40
Slide 40 text
No content
Slide 41
Slide 41 text
references and closing issues/PRs
Slide 42
Slide 42 text
No content
Slide 43
Slide 43 text
Filter pull requests by status
Slide 44
Slide 44 text
Filter pull requests by status
Slide 45
Slide 45 text
code search
Slide 46
Slide 46 text
No content
Slide 47
Slide 47 text
Add syntax highlighting to codeblocks in markdown files
Slide 48
Slide 48 text
No content
Slide 49
Slide 49 text
Keyboard shortcuts
Slide 50
Slide 50 text
Gists as full repos: git clone https://gist.github.com/allthedoll/ 966bebdbc6ed6b78942e6d9b1369c0b3
Slide 51
Slide 51 text
Embedded Gists
Slide 52
Slide 52 text
Atom • Keyboard commands • Packages
Slide 53
Slide 53 text
alt-g
Slide 54
Slide 54 text
cmd-shift-p
Slide 55
Slide 55 text
No content
Slide 56
Slide 56 text
No content
Slide 57
Slide 57 text
No content
Slide 58
Slide 58 text
No content
Slide 59
Slide 59 text
FIN Brent Beer Solutions Engineer @ GitHub ! brntbeer !
[email protected]
" @brntbeer Jamie Strusz Services Engineer @ GitHub allthedoll !
[email protected]
! @allthedoll "