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
13 git Tips for killer Productivity
Slide 2
Slide 2 text
Checkout previous branch Quickly toggle between two branches
Slide 3
Slide 3 text
Number of commits per author See which of your coworkers are the best
Slide 4
Slide 4 text
git wtf [alias] wtf = "!f() { git blame --line-porcelain $1 | sed -n 's/^author //p' | sort | uniq -c | sort -rn; }; f" “Who The File?” aka Who should I talk to about this?
Slide 5
Slide 5 text
Show branch name in shell prompt
Slide 6
Slide 6 text
rerere: Reuse Recorded Resolution Remembers how you resolve a merge conflict
Slide 7
Slide 7 text
Stage commits interactively Make your commit about one thing
Slide 8
Slide 8 text
Show a different version of a file From a different branch, supports autocomplete
Slide 9
Slide 9 text
Show diff when writing commit message
Slide 10
Slide 10 text
Show diff when writing commit message
Slide 11
Slide 11 text
tig: “Graphical” git browser
Slide 12
Slide 12 text
More concise git status
Slide 13
Slide 13 text
Search commits by diff Useful for finding variables, use -G for regular expression
Slide 14
Slide 14 text
Undo last commit Puts changes back in index
Slide 15
Slide 15 text
Show changes to a file