GIT Homework

Due January 29

Goal

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.

Overview

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.

You will work with your team to create a GIT repository on the server using project 2. Then set it up at GitHub. Finally your other teammates and you will experiment with using this GitHub repositroy from several accounts.

Steps

  1. All of the team members wil create GitHub accounts.
  2. One of the team members will create a project (public) called nameserver. The other members will be invited to the project.
  3. The of the team members will turn their Project 2 into a Git project. Instructions Here. Example Here .
  4. make their project 2 folder to be a

References

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.
Topic revision: r5 - 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