GIT Homework

Due February 20

Goal

For this classes we will use GIT to track our projects on the CS server.Since GIT is already installed on the server, you will merely need to setup and use your own local GIT repository for each project.

Overview

Git is typically used for a group to synchronize their activities. In this case there is a common repository server that everyone pushed and pulls from, and sometimes merges with. In this case you will simply be setting up a local GIT repository, and committing your work periodically in order to keep copies of every "version" of your work. This is a handy form of backup, as you can always have a path back to earlier work. In reviewing the references, and the class lecture, remember that you will never need to do any operation involving a "remote" repository. This includes "push", "pull", "clone", and "fetch". Also you will not need to install GIT, it is already on the CS server.

A later assign may deal with putting GIT on your personal systems, and synchronizing this with your work on cs.mvnu.edu.

References

Review the following as needed. Remember you can ignore things relating to INSTALLING and REMOTES.

Steps

For all the steps below make a word processing document that chows and explains each command you had to use.

  1. Initialize and set up a local Git.
  2. Add your project code to the local Git as a new project (you will have others later)
  3. Show how to commit new changes.
  4. Show how to revert back to the previous commit after making changes. What is this useful for?
  5. Show how to compare two different of the same file.
  6. Show how to bring back an older version of a file without reverting.
  7. Show how to add and remove files from a Git repository.
  8. Show how to exclude certain files from being tracked by Git. What is this is important.
  9. Turn is all in on Moodle.
Edit | Attach | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2015-02-17 - RobertKasper
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback