|
1 | 1 | # Git Intro Activity
|
2 | 2 |
|
3 |
| -In-class activity for learning to manage a single branch in a local git repository. |
| 3 | +Participants, in teams of 2-3, work through an activity to learn how to install, configure, and use git to manage local repositories. |
4 | 4 |
|
5 |
| -## Contents |
6 |
| - |
7 |
| -- presentation.pptx - Provides a little context. |
8 |
| -- cheatsheet.docx - Contains common command-line commands, vim commands, and other resources |
9 |
| -- activity.docx - Primary activity that students work together to complete |
| 5 | +## Required Resources |
10 | 6 |
|
11 |
| -## Timing |
| 7 | +- Participants: 2+ |
| 8 | +- Each team needs: |
| 9 | + - 1 computer with |
| 10 | + - A command-line interface |
| 11 | + - A plaintext editor |
| 12 | + - A browser |
| 13 | + - A working Internet connection with ports open for HTTP and HTTPS |
12 | 14 |
|
13 |
| -- [10 min] |
14 |
| - - presentation.pptx |
15 |
| - - form teams |
16 |
| - - handout cheatsheet and activity, one copy per team |
17 |
| -- [30-50 min] teams work through and complete the activity |
18 |
| -- [5-10 min] discuss responses to key questions; this can be done along the way. |
| 15 | +## Prerequisite Knowledge and Skills |
19 | 16 |
|
20 |
| -## Pre-requisites |
| 17 | +Participants must be able to: |
21 | 18 |
|
22 |
| -- Basic command-line skills (cd, mkdir, ls/dir) |
23 |
| -- Very basic vi/m skill (enter/exit insert mode, save and quit) |
| 19 | +- Command-line operations: |
| 20 | + - Change working directory (cd) |
| 21 | +- Filesystem operations: |
| 22 | + - Create, rename, move, and delete directories and files |
| 23 | +- Plaintext editor operations: |
| 24 | + - Edit and save a file |
24 | 25 |
|
25 |
| -## Learning Objectives |
| 26 | +## Learning Outcomes |
26 | 27 |
|
27 |
| -After completing this tutorial students will be able to... |
| 28 | +Participants will be able to: |
28 | 29 |
|
29 |
| -- Configure git. |
30 |
| -- Make and commit changes to a repository. |
31 |
| -- Add new files to a repository. |
32 |
| -- Remove a file from a repository. |
33 |
| -- Modify a file and commit the change. |
34 |
| -- Stage changes for commit. |
35 |
| -- Unstage changes for commit. |
36 |
| -- Explain the purpose of the stage/cache/index. |
37 |
| -- Inspect the state of a repository. |
38 |
| -- Undo a commit. |
| 30 | +- Install git |
| 31 | +- Configure git |
| 32 | +- Make and commit changes to a repository |
| 33 | +- Add new files to a repository |
| 34 | +- Remove a file from a repository |
| 35 | +- Modify a file and commit the change |
| 36 | +- Stage changes for commit |
| 37 | +- Unstage changes for commit |
| 38 | +- Explain the purpose of the stage/cache/index |
| 39 | +- Inspect the state of a repository |
| 40 | +- Undo a commit |
39 | 41 |
|
40 |
| -## Process Skills |
| 42 | +## Targeted Process Skills |
41 | 43 |
|
42 | 44 | - Critical thinking
|
| 45 | + |
| 46 | +## Contents |
| 47 | + |
| 48 | +- activity.docx - Primary activity that students work together to complete |
| 49 | +- cheatsheet.docx - Contains common command-line commands, vim commands, and other resources |
| 50 | +- presentation.pptx - Provides a little context |
| 51 | + |
| 52 | +## Facilitation |
| 53 | + |
| 54 | +- 10 min: |
| 55 | + - Provide overview using presentation.pptx |
| 56 | + - Form teams |
| 57 | + - Handout cheatsheet.docx and activity.docx, one copy per team |
| 58 | +- 30-50 min: Supervise teams as they work through activity.docx |
| 59 | +- 5-10 min: Discuss responses to key questions; this can be done along the way |
| 60 | + |
| 61 | +## License |
| 62 | + |
| 63 | +(c) 2016 Darci Burdge and Stoney Jackson SOME RIGHTS RESERVED |
| 64 | + |
| 65 | +This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ . |
0 commit comments