Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.79 KB

readme.md

File metadata and controls

25 lines (17 loc) · 1.79 KB

Learn git through Problem Based Learning

Git is a skill that is easier to learn by doing it rather than trying to memorise commands. This series of exercises uses the gitruler tool to allow you to check your skills as you progress.

Introduction

Before you run these exercises you will need to download gitruler.jar from https://github.com/rcraggs/gitruler/releases/latest.

Each of the exercises can be completed as follows:

  1. Clone or Fork the exercise. Instructions can be found in the "Cloning an existing repository" section of Pro Git book and on the Github help pages.
  2. Follow the instructions to perform updates on the repository that you have cloned. Use the resources and your own research to learn how to complete the exercises - that's the key part of the learning process.
  3. Continually run java -jar <path-to-gitrule.jar> to check your progress. Once you are finished push your repository.

Exercises

  1. Section A - configuring git, committing updates to tracked files and pushing changes to origin.
  2. Section B - Tracking a new file, staging specific files for a commit and checking the repository status.
  3. Section C - Ignoring moving and removing files in git.
  4. Section D - Tagging and using git to view a log of commits and differences between versions.
  5. Section E - Branching and merging and resolving merge conflicts.