Git: Git Intro Activity

(Difference between revisions)
Jump to: navigation, search
(Suggestions for Open Source Community:)
(Suggestions for Open Source Community:)
(3 intermediate revisions by 3 users not shown)
Line 8: Line 8:
 
|'''Prerequisite Knowledge''' ||
 
|'''Prerequisite Knowledge''' ||
  
* Prerequisite Knowledge and Skills
+
* Command-line operations:
** Command-line operations:
+
** Change working directory (cd)
*** Change working directory (cd)
+
* Filesystem operations:
** Filesystem operations:
+
** Create, rename, move, and delete directories and files
*** Create, rename, move, and delete directories and files
+
* Plaintext editor operations:
** Plaintext editor operations:
+
** Edit and save a file
*** Edit and save a file
+
  
 
|-
 
|-
Line 90: Line 89:
 
[[File:CC_license.png]]
 
[[File:CC_license.png]]
  
[[Category: Learning_Activity]]
+
[[Category:Learning Activity]]
 
+
[[Category:Communication and Tools]]
[[Category:Communication_and_Tools]]
+
[[Category:Git]]
 
+
[[Category:CS Principles]]
[[Category: CS Principles]]
+
[[Category:CS1]]
[[Category: CS1]]
+
[[Category:CS2]]
[[Category: CS2]]
+
[[Category:Good Draft]]

Revision as of 17:28, 8 March 2017

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
  • 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 Participants will 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

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 Knowledge Area/Knowledge Unit Software Engineering (SE)
ACM Topic Software configuration management and version control
Level of Difficulty Medium
Estimated Time to Completion 70 minutes
Materials/Environment
  • 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 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 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:


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

CC license.png

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