CS2030 AY19/20 Semester 2
  • Introduction
  • Textbook Contributions
  • Peer Learning Tasks
  • Piazza Participation
  • Setting Up Lab Environment
  • Setting Up Java
  • Setting Up Vim
  • Setting Up MacVim
  • Setting Up Sunfire and PE Nodes
  • Setting Up Checkstyle
  • Textbook
  • CS2030 Java Style Guide
  • CS2030 Javadoc Specification
  • JDK 11 Download Link
  • Codecrunch
  • Github Repo
  • Piazza Forum

  • Textbook Contributions

    Below is the tutorial on how you can make contributions to our CS2030 Collaborative Textbook using Github. We will be using markdown for the Collaborative Textbook.

    Click here or here for a simple Markdown cheatsheet!

    This is a beginner's guide to the forking workflow!
    If you had prior experience to using Github, this might not be the tutorial for you.

    Please Sign Up for Github if you have not done so!

    If you have seen a contribution that has not been made, you can add an issue here.

    Be sure to give it the following:

    1. A suitable Title.
    2. A suitable Description.
    3. Tags (if necessary).

    Our Teaching Staff would then give a suggestion on where you can make this contribution within the textbook.

    To Look for Contributions that you can make, go to this link to find an issue which was raised by the Teaching Staff / Your Fellow Peers.


    From there, you should be able to see what kind of contributions you can make to the textbook.

    While navigating through the textbook, you can click on any of the pen icons to edit the page.

    It will direct you to the Github Repository of this website. From there, you are required to create a fork of the repository.

    You will then create a fork of this repository. Use the Markdown editor to make whatever changes you need to make to that particular section! Try to add in useful information here which is covered / not covered in lectures!

    Once done, save and commit your file changes!

    It will now bring you back to the main repository of the website. As a result, you can create your own pull request to make a contribution to the website.

    From which, you are required to name your Pull Request in the following format: (full-name) : (Name of PR)

    Once you have submitted your Pull Request, you can view the changes you have made in a preview website using Netlify!

    Now, you would have to wait for your Pull Request to be merge in order to gain points for your contribution!

    Merge conflicts happen when you merge branches that have competing commits due to the clashes in content, and Git needs your help to decide which changes to incorporate in the final merge.

    This will most likely happen when you try to edit a file someone has already edited before.

    In the event that you have merge conflicts in the file, you are required to resolve them in the event that a Lab TA has not done so.

    You are required to make the necessary changes so that the merge conflicts are resolved.

    Not deleting the arrows and equal signs might cause an error in the compilation process.

    Once you are done, you can Mark this merge conflict as resolved.

    Following which, you can commit this merge.