Git: Git Intro Activity

From Foss2Serve
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.

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 Body of Knowledge
Area & Unit(s)

Software Engineering (SE)

ACM Topic(s)

Software configuration management and version control

Level of Difficulty

medium

Estimated Completion Time

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