Skip to content

Commit b7e25ac

Browse files
author
Matthew McCullough
committed
Fixes to dynamically parsed outline (needed H3)
1 parent f02d9e5 commit b7e25ac

File tree

3 files changed

+131
-4
lines changed

3 files changed

+131
-4
lines changed

workbooks/github-advanced.md

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
---
22
layout: workbook
3-
title: GitHub Advanced Workbook: Mastering all of Git and GitHub
3+
title: GitHub Advanced Workbook Mastering all of Git and GitHub
44
description: A student and teacher outline to the GitHub Advanced class.
55
---
66

77

88
## Tagging and releases
9+
10+
### Summary
911
* Why create a tag through the web UI?
1012
* Not a branch HEAD. Points to a specific commit.
1113
* Attaching binaries to releases (Web UI and API)
@@ -35,6 +37,8 @@ git push origin :<tag-name-to-delete>
3537

3638

3739
## Project management on GitHub
40+
41+
### Summary
3842
* Effective milestone
3943
* Links to Milestones
4044
* Pulse
@@ -43,48 +47,69 @@ git push origin :<tag-name-to-delete>
4347
* Issue dashboard (cross-repo view)
4448

4549
## Visualizations on GitHub
50+
51+
### Summary
4652
* Branches page
4753
* Compare view
4854
* Compare with `master@{yesterday}` refs
4955
* Network graph
5056
* Network members
5157

5258
## Advanced Pull Request use
59+
60+
### Summary
5361
* PRs to horizontal contributors
5462
* PRs multiple levels up
5563
* Converting issues to PRs
5664
* PRs as Issues with code
5765

5866
## GitHub API
67+
68+
### Summary
5969
* Requests
6070
* Authorization
6171
* Octokit wrappers
6272
* Hypermedia as the Engine of Application State (HATEOS)
6373

6474
## Service hooks and Webhooks
75+
76+
### Summary
6577
* Pre-built service hooks
6678
* Custom webhooks
6779
* Specifying webhook events
6880
* Testing webhooks
6981

7082
## Staging Shortcuts
7183

84+
### Summary
85+
* Add parts of files
86+
* Add files interactively
87+
7288
```
7389
# Add in patch mode
7490
git add -p
7591
92+
# Add interactively
93+
git add -i
94+
7695
# The GitHub for Mac desktop client
7796
github
7897
```
7998

8099
## Committing Efficiencies
81100

101+
### Summary
102+
* Add and commit
103+
* Amend existing commit
104+
82105
```
83106
git commit -a -m"message"
84107
git commit --amend
85108
```
86109

87110
## GitHub
111+
112+
### Summary
88113
* Closing Issues and PR by commit number
89114
* Retrieving PRs locally to resolve conflicts
90115
(without locally merging to target branch)
@@ -95,6 +120,11 @@ git commit -m "Your message closes #[issue]"
95120

96121
## Stashing with precision
97122

123+
### Summary
124+
* Name your stash
125+
* List stashes
126+
* Use specific stashes
127+
98128
```
99129
git stash save "<description>"
100130
git stash --include-untracked
@@ -107,6 +137,8 @@ git stash -p
107137
```
108138

109139
## Cherry-pick
140+
141+
### Summary
110142
* Why you want to
111143
* What happens
112144
* Tracing any cherry-picks
@@ -118,6 +150,7 @@ git branch --contains
118150

119151
## History analysis
120152

153+
### Summary
121154
* Commit ranges to review branch differences
122155
* Verifying merges have completed
123156

@@ -129,6 +162,8 @@ git name-rev [commit-ref]
129162
```
130163

131164
## Remote reviewing, synchronization
165+
166+
### Summary
132167
* Determine what's on the upstream
133168
* Identify out-of-date branches
134169
* Review Pull Requests
@@ -159,6 +194,7 @@ git branch <newbranchname> FETCH_HEAD
159194

160195
## Upstream maintenance
161196

197+
### Summary
162198
* Remove non-matching _local_ remote branches
163199
* Remove non-matching remote upstream branches
164200
* Remove only remote upstream branch
@@ -171,6 +207,8 @@ git push origin :<branch-name>
171207
```
172208

173209
## Rebasing
210+
211+
### Summary
174212
* Branch Preparation
175213
* Rebasing __is not__ merging
176214

@@ -192,6 +230,8 @@ git rebase --continue
192230
```
193231

194232
## Interactive Rebasing
233+
234+
### Summary
195235
* Reorder commits
196236
* Rewrite history entirely
197237
* Discard commits
@@ -205,6 +245,7 @@ git rebase -i [remote]/[branch]
205245

206246
## Rebasing and beyond
207247

248+
### Summary
208249
* Changing where branch history begins
209250
* Moving history around
210251

@@ -229,6 +270,8 @@ merge --squash [branch]
229270
```
230271

231272
## Revising history safely
273+
274+
### Summary
232275
* Safely resetting local history
233276
* Guaranteeing remote history is not lost
234277

@@ -237,6 +280,8 @@ git reset --[option] [remote]/[branch]
237280
```
238281

239282
## Cleaning
283+
284+
### Summary
240285
* Purge untracked in working dir
241286
* for directories
242287
* for removing ignored files (useful for tidying build artifacts)
@@ -248,6 +293,8 @@ git clean -fx
248293
```
249294

250295
## Treeish / commitish
296+
297+
### Summary
251298
* Simple ways of describing history points
252299
* Easier-to-describe and understand numerically
253300

@@ -259,7 +306,13 @@ HEAD~2
259306

260307
## Diff Tool
261308

309+
### Summary
262310
* [P4Merge](http://www.perforce.com/downloads/Perforce-Software-Version-Management/complete_list/Free%2020-User%20Edition#10)
311+
* Opendiff
312+
* KDiff
313+
* Kaleidoscope
314+
* Vimdiff
315+
* Meld
263316

264317
```
265318
git difftool --tool-help
@@ -282,6 +335,9 @@ git config difftool.<tool-name>.cmd "<path [args]>"
282335

283336
## Merge Tool
284337

338+
### Summary
339+
* Same as difftool, but 3-way
340+
285341
```
286342
git config --global merge.tool p4mergetool
287343
@@ -302,6 +358,7 @@ git config --global mergetool.keepBackup false
302358

303359
## GitHub CLI
304360

361+
### Summary
305362
* API for interfacing with your repos
306363
* Where config/credentials are stored
307364
* Reasons for usage
@@ -316,12 +373,18 @@ gh browse
316373

317374
## ReReRe
318375

376+
### Summary
377+
* Reuse recorded resolution
378+
319379
```
320380
git config rerere.enable true
321381
```
322382

323383
## Credential Caching
324384

385+
### Summary
386+
* Save passwords securely
387+
325388
```
326389
git config --global credential.helper cache
327390
git config credential.helper 'osxkeychain'
@@ -331,7 +394,10 @@ git credential-cache exit
331394

332395
## SSH Key (Optional)
333396

334-
* Upload to GitHub
397+
### Summary
398+
* Classic authentication with GitHub
399+
* Generate key
400+
* Upload public key to GitHub
335401

336402
```
337403
ssh-keygen -t rsa -C"Anything..."
@@ -340,6 +406,7 @@ ssh -T [email protected]
340406

341407
## Default/Out-of-Box GUIs
342408

409+
### Summary
343410
* for staging, committing
344411
* for browsing history
345412

workbooks/github-foundations.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,33 @@
11
---
22
layout: workbook
3-
title: GitHub Foundations Workbook: An introduction to the GitHub collaboration platform
3+
title: GitHub Foundations Workbook An introduction to the GitHub collaboration platform
44
description: This workbook will be your companion for the slides of the GitHub Foundations class taught by the [GitHub Training Team](http://training.github.com/) and other educational groups. In this GitHub Training course, you'll learn all the necessary skills to be productive with GitHub and Git in your open source work or daily job assignments.
55
---
66

77
## Version control concepts
8+
9+
### DETAILS
810
* Git, the information tracker
911
* GitHub, the collaboration platform
1012
* Distributed version control
1113

1214
## Ways of interacting with repositories
15+
16+
### DETAILS
1317
* GitHub web flow
1418
* GitHub GUIs for Mac, Windows
1519
* Command line
1620

1721
## Getting to know GitHub
22+
23+
### DETAILS
1824
* Repository initialization
1925
* Actionable steps (Create, Edit, Remove, Move)
2026
* Commits (page)
2127

2228
## Version control basics
29+
30+
### DETAILS
2331
* Commits
2432
* Line-level tracking
2533
* Commit messages
@@ -30,11 +38,15 @@ description: This workbook will be your companion for the slides of the GitHub F
3038
* Comparison view
3139

3240
## Acquiring repos
41+
42+
### DETAILS
3343
* Clone from web (Clone in Desktop button)
3444
* Clone via personal repo list in GitHub Desktop
3545
* Complete "copy" explanation
3646

3747
## Local repository interaction
48+
49+
### DETAILS
3850
* Changes (with text editor)
3951
* Comparison (diff via GHfD)
4052
* Commits
@@ -43,6 +55,8 @@ description: This workbook will be your companion for the slides of the GitHub F
4355
* Syncing (GHfD)
4456

4557
## GitHub Workflows
58+
59+
### DETAILS
4660
* Forking
4761
* Reason for forks
4862
* What it encourages
@@ -60,6 +74,8 @@ description: This workbook will be your companion for the slides of the GitHub F
6074
* Clone locally with GHfD (optional)
6175

6276
## GitHub Visualizations
77+
78+
### DETAILS
6379
* Comparing/Diff-ing
6480
* Code
6581
* Prose
@@ -74,6 +90,8 @@ description: This workbook will be your companion for the slides of the GitHub F
7490
* Activity
7591

7692
## Project Management
93+
94+
### DETAILS
7795
* GitHub Issues
7896
* Milestones
7997
* Pulse

0 commit comments

Comments
 (0)