GIT Homework

Due January 29


For this classes we will use GIT to track our projects on the GitHub server. GitHub is free for public processes, but costs money for (about $7.00 a month) for private projects. It is assumed your projects will be public, but you are free to make them private is you wish to. However, the instructor must have access to all class related projects for grading purrposes.


Git is typically used for a group to synchronize their activities. to do this there is a common repository server that everyone pushes to and pulls from, and sometimes merges with. We will be using GitHub as our repository. GitHub is an online repository that alows groups of people to work on a project together, allowing them to work on and synchronize their work. It also keeps a complete history of ALL versions of every file in the project. In this class all groups are required to create an use a repositoryfor group projects. You will sent your project name to the instructor so the project can be monitored.

You will manage the code state with "push", "pull", "clone", and "fetch" operation.




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

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: r4 - 2017-02-08 - JimSkon
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