Git: Git Intro Activity

From Foss2Serve
Revision as of 18:30, 21 January 2017 by Clif.kussmaul (Talk | contribs)
Jump to: navigation, search
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