CPNT 201 Assignment 4 - Collaborative Git
- UPDATE: only one person in you team will be able to work off of the original fork. the others can clone but will have to re-initialize and create a new repository. Everything else works the same, but only 1 person can use the original fork.
Summary
This assignment will give you experience working with others using git. You will work as a maintainer, collaborator, and contributor.
Marks will be based on documented git commits. Each required commit will be worth 1 point.
- NOTE: commits not correctly documented will not be marked.
Instructions
- Fork this github repository
- Follow the following steps. More details are provided in the index.html page of the repository
Steps
- Set up gitignore and add a file that you use to document your commits (this will be tracked at the end of the assignment)
- Add your git team mates
- you should have 1 person with commit access and 1 without
- you should be 1 person with commit access to another teammate's repo and you should have to make PRs for the other person's repo
- As a team, write 3 rules for how you will use git. These should be stored in your README.
- Topics could include:
- details about how commit messages should be written
- A strategy for reviewing Pull Requests such as requiring a +1 from your collaborator before merging
- Make a small edit to the html and css of both of your team mates projects. You should have a separate commit for the html edit and css edit (total of 4 commits). You must merge the PR from your contributor teammate.
- Your edits should be made on blog.html
- I've included some bugs that need to be fixed.
- There are both syntax bugs and spelling errors.
- Resolve a Merge Conflict
- In your own repository, create and resolve a merge conflict.
- Remove the commit documentation file from your gitignore and add the file to your repository.
- NOTE: if you accidentally delete this file, you will have to go though your commit history to find all of the required commits.
Required Commits
- Create a gitignore and add the name of your commit documentation markdown file to it
- Add you and your team to your README
- Add contributor rules to your README
- Pull Request commit HTML edit to the page that you are contributor
- Pull Request commit CSS edit to the page that you are a contributor
- HTML edit to the page that you are a collaborator
- CSS Edit to the page that you are a collaborator
- One pull request that you merged into your repo
- Resolved Merge Conflict Commit
- Commit documentation file being added to the repo
Total Points: 10
Commit documentation requirements
- A short description of what the commit is (you can use the required commits description)
- a link to the specific commit formatted like this
- example:
- added blog repo and added nav to index - 172a3b
Submission Instructions
- Submit the following to brightspace:
- a link to the commit documentation file in your repo (this is what I will be grading)
- a zipped copy of your git repository