/IntroGit

Primary LanguageHTMLMIT LicenseMIT

Contemporary Software Development

Week 2 Practical: Introduction to GitHub

This repository is your playground for learning how to interact and manage remote repositories on GitHub and more importantly, collaborate with other developers in a remote repository.

Tasks for completion

1. Initial setup

After cloning the repository, the repo manager must enable GitHub pages and invite other collaborators.

  1. Go to the repository settings and enable GitHub Pages:
    1. Scroll down to the "GitHub pages" section.
    2. From the "Source" drop down, select main branch and click save.
    3. Note the url of the repository.
  2. Invite the other teams members to collaborate on the project:
    1. Go to the repository settings and select manage access.
    2. Click on the invite a collaborator button and invite your team members.

2. Collaborate

Now that the repository has some team members, you will each create a static web page for the repository GitHub pages:

  1. Each participant should create a new branch called <CollabFeature> where Collab is you name.
  2. Within your branch navigate to the _posts folder.
  3. Open the file 0000-01-01-intro.md and copy the text.
  4. Create a new file called 0000-01-0x-YourName.md.
  5. Paste the text that you copied from the 0000-01-01-intro.md file into your new file.
  6. Edit the text and include a line or two stating your favourite programming language and why you like the language.
  7. Commit the new file with a meaningful commit message and description.
  8. After creating a new file, issue a pull request. The request should select the main branch as the base: and your branch as the compare.

3. Review and discuss

Now that you have some pull requests you should review the suggested changes.

Group members should review a pull request, suggest the order of each of the static files. You can change the order of the file by updating each file name. For example to make the file 0000-01-0x-YourName.md appear as the second file in the GitHub page change the name and replace the 'x' with '2' eg 0000-01-02-YourName.md.


4. Amend your files and publish

  1. Make the changes necessary to your files so that your page is displaed in the agreed order.
  2. Commit and merge your changes with the main branch.
  3. Check that each the repository site displays correctly. Go to the repository settings and scroll down to the GitHub Pages section. The URL for the repository site will be displayed there. If the pages do not display correctly go to the issues section of the repository, create an issue and assign it to the appropriate team member.


### Credits:

This repository is based on the GitHub learning lab introduction to GitHub which is available here https://lab.github.com/githubtraining/introduction-to-github

The repository is using the ✨ open source project reveal.js. If you are interested in how this works, head to the original project repo to learn more about the cool people behind this project.