All Projects → BU-CS320 → Fall-2018

BU-CS320 / Fall-2018

Licence: other
The notes for 320

Programming Languages

haskell
3896 projects
Agda
84 projects
python
139335 projects - #7 most used programming language

Fall-2018

website piazza

The notes and assignments for 320

Forking and Adding tests

We will allow you to share tests with the class. These instructions are a work in progress, please add to them.

Small changes

  1. Click the pencil in the upper right corner
  2. edit the file
  3. press "Create a new branch for this commit and start a pull request"
  4. click the make pull request button
  5. wait for aproval, you will see your request under "Pull requests"
  6. Someone will merge you commit or comment about why it can't be merged
  7. if there are problems with you commit you will need to follow some of the instructions bellow to fix it

Large changes

Once you have followed the steps for forking a repository all you need to do now is clone the forked repository into your terminal. Then follow these steps:

  1. Need to add the ability to update your forked repository to keep it up to date with the master branch
    1. '''cd'' into your forked repo
    2. type '''git remote add upstream https://github.com/BU-CS320/Fall-2018.git'''
    3. type '''git fetch upstream''' then '''git pull upstream''' to update your forked repository with the master branch
    4. Now just make your edits, whether it be fixing typos, adding test cases, etc.
    5. Once you have made your changes, all you need to is push your changes to your forked repo to save your work.
  2. Pushing your work to the masterbranch
    1. Once you push your changes, go onto github and click the tab pull requests.
    2. Once in this tab, hit the button that says New pull request
    3. Once you get to this page, you will see this at the top . This will compare your forked repository with the master branch.
    4. Then click Create a new pull
    5. Add any comment you want
    6. Then click Create a new pull at the bottom of the page
    7. After this you should have successfully put in the pull request, and now just wait for the person with the access to the master branch to accept the request.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].