Git: Git Intro Activity

From Foss2Serve
(Difference between revisions)
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
{| border="1"
 
|-
 
|'''Title''' || Git Intro Activity
 
|-
 
|'''Overview''' || Participants, in teams of 2-3, work through an activity to learn how to install, configure, and use git to manage local repositories.
 
|-
 
|'''Prerequisite Knowledge''' ||
 
  
 +
{{Learning Activity Overview
 +
|title=
 +
Git Intro Activity
 +
|overview=
 +
Participants, in teams of 2-3, work through an activity to learn how to install, configure, and use git to manage local repositories.
 +
|prerequisites=
 
* Command-line operations:
 
* Command-line operations:
 
** Change working directory (cd)
 
** Change working directory (cd)
Line 14: Line 13:
 
* Plaintext editor operations:
 
* Plaintext editor operations:
 
** Edit and save a file
 
** Edit and save a file
 
+
|objectives=
|-
+
|'''Learning Objectives''' || Participants will be able to:
+
 
+
 
* Install git
 
* Install git
 
* Configure git
 
* Configure git
Line 29: Line 25:
 
* Inspect the state of a repository
 
* Inspect the state of a repository
 
* Undo a commit
 
* Undo a commit
 +
|process skills=
 +
}}
  
|}
+
=== Background ===
 
+
=== Background: ===
+
  
 
Activity is maintained here: https://github.com/StoneyJackson/git-intro-activity
 
Activity is maintained here: https://github.com/StoneyJackson/git-intro-activity
  
=== Directions: ===
+
=== Directions ===
  
 
Directions are available here: https://github.com/StoneyJackson/git-intro-activity
 
Directions are available here: https://github.com/StoneyJackson/git-intro-activity
  
=== Deliverables: ===
+
=== Deliverables ===
  
 
A completed worksheet and a git repository.
 
A completed worksheet and a git repository.
  
=== Assessment: ===
+
=== Assessment ===
  
 
This is an in-class, team-based learning activity, and is not intended for assessment. If you really want to assess it, you would review answers teams give to questions and the git repository they produced. You could also circulate during the activity and assess team work and critical thinking.
 
This is an in-class, team-based learning activity, and is not intended for assessment. If you really want to assess it, you would review answers teams give to questions and the git repository they produced. You could also circulate during the activity and assess team work and critical thinking.
  
=== Comments: ===
+
=== Comments ===
  
  
 
=== Additional Information: ===
 
=== Additional Information: ===
{| border="1"
+
 
|-
+
{{Learning Activity Info
|'''ACM Knowledge Area/Knowledge Unit''' || Software Engineering (SE)
+
|acm unit=
|-
+
Software Engineering (SE)
|'''ACM Topic''' || Software configuration management and version control
+
|acm topic=
|-
+
Software configuration management and version control
|'''Level of Difficulty''' || Medium
+
|difficulty=
|-
+
medium
|'''Estimated Time to Completion''' ||  70 minutes
+
|time=
|-
+
70 minutes
|'''Materials/Environment''' ||
+
|environment=
 
* Participants: 2+
 
* Participants: 2+
 
* Each team needs 1 computer with
 
* Each team needs 1 computer with
Line 69: Line 65:
 
** A browser
 
** A browser
 
** A working Internet connection with ports open for HTTP and HTTPS
 
** A working Internet connection with ports open for HTTP and HTTPS
 
+
|author=
|-
+
Darci Burdge and Stoney Jackson
|'''Author''' || Darci Burdge and Stoney Jackson
+
|source=
|-
+
https://github.com/StoneyJackson/git-intro-activity
|'''Source''' || https://github.com/StoneyJackson/git-intro-activity
+
|license=
|-
+
(c) 2016 Darci Burdge and Stoney Jackson SOME RIGHTS RESERVED
|'''License''' || (c) 2016 Darci Burdge and Stoney Jackson SOME RIGHTS RESERVED
+
{{License CC BY SA}}
 
+
}}
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/ .
+
|}
+
  
 
=== Suggestions for Open Source Community: ===
 
=== Suggestions for Open Source Community: ===
  
 
+
[[Category:Learning Activity]]
--------------------
+
[[Category:Communication and Tools]]
This work is licensed under a
+
[[Category:Git]]
[http://creativecommons.org/licenses/by-sa/4.0/ Creative Commons Attribution-ShareAlike 4.0 International License]
+
[[Category:CS Principles]]
 
+
[[Category:CS1]]
[[File:CC_license.png]]
+
[[Category:CS2]]
 
+
[[Category:Good Draft]]
[[Category: Learning_Activity]]
+
 
+
[[Category:Communication_and_Tools]]
+
 
+
[[Category: CS Principles]]
+
[[Category: CS1]]
+
[[Category: CS2]]
+

Latest revision as of 22:50, 7 September 2018


Title

Git Intro Activity

Overview

Participants, in teams of 2-3, work through an activity to learn how to install, configure, and use git to manage local repositories.

Prerequisites
  • Command-line operations:
    • Change working directory (cd)
  • Filesystem operations:
    • Create, rename, move, and delete directories and files
  • Plaintext editor operations:
    • Edit and save a file
Learning
Objectives
After successfully completing this activity, the learner should be able to:
  • Install git
  • Configure git
  • Make and commit changes to a repository
  • Add new files to a repository
  • Remove a file from a repository
  • Modify a file and commit the change
  • Stage changes for commit
  • Unstage changes for commit
  • Explain the purpose of the stage/cache/index
  • Inspect the state of a repository
  • Undo a commit
Process Skills
Practiced


Background

Activity is maintained here: https://github.com/StoneyJackson/git-intro-activity

Directions

Directions are available here: https://github.com/StoneyJackson/git-intro-activity

Deliverables

A completed worksheet and a git repository.

Assessment

This is an in-class, team-based learning activity, and is not intended for assessment. If you really want to assess it, you would review answers teams give to questions and the git repository they produced. You could also circulate during the activity and assess team work and critical thinking.

Comments

Additional Information:

ACM BoK
Area & Unit(s)

Software Engineering (SE)

ACM BoK
Topic(s)

Software configuration management and version control

Difficulty

medium

Estimated Time
to Complete

70 minutes

Environment /
Materials
  • Participants: 2+
  • Each team needs 1 computer with
    • A command-line interface
    • A plaintext editor
    • A browser
    • A working Internet connection with ports open for HTTP and HTTPS
Author(s)

Darci Burdge and Stoney Jackson

Source

https://github.com/StoneyJackson/git-intro-activity

License

(c) 2016 Darci Burdge and Stoney Jackson SOME RIGHTS RESERVED

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

CC license.png


Suggestions for Open Source Community:

Personal tools
Namespaces
Variants
Actions
Events
Learning Resources
HFOSS Projects
Evaluation
Navigation
Toolbox