Skip to content

Latest commit

 

History

History

Bonus

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Bonus

1 supplementary point on the final grade of the course can be obtained for contributions improving the course material (practicals, Readme, etc.).

Bonus conditions

  • only .5 point is given for a contribution,
  • only the first contribution proposed on a theme is rewarded (no point given for followers!),
  • documented pull-requests (PR) are expected : details are expected to help judging what the proposition improves/corrects,
  • for typos at least 5 corrections are expected to receive .5 point. The corrections should be gathered in a single PR.
  • each student can only get 1 point (maximum) through bonuses.

Pull Request (PR)

The pull request system is a standard way of proposing improvement and modifications in open source project. Here we use it for the opportunity to improve the course material.

The principle is the following

  • Fork: Connect to your Github account (see [(tp.md]../Git/tp.md) for details) and fork the repository by clicking on the "Fork" icon: plot

  • Go to on your Github account and find the HMMA238 repository. In what follows you should substitute my_github_id by your github identification; in the screenshots the examples are with my_github_id=josephsalmon and they should be adapted according to yours. The url is hence https://github.com/my_github_id/HMMA238.

  • Get the cloning repository by clicking the "clone" button and choose either the https or ssh protocol (the later being recommended to avoid typing your password at each git pull/push): plot .

  • Clone the repository on your local machine. On Linux this consists in typing the following line in a terminal:

$ git clone git@github.com:my_github_id/HMMA238.git
  • Adding a remote : you need to configure a remote that points to the upstream repository. Before you can sync your fork with an upstream repository, you must do this step

git remote add upstream https://github.com/bcharlier/HMMA238.git

  • you can check the remote available (yours and the class one) by typing:
$ git remote -v
  • Create a new branch for instance called improving_git, and move to it
$ git checkout -b improving_git
  • Make local edit on some of the files in the project, and then commit and push the new branch improving_git:
$ git commit -am "I edited some typos"
$ git push --set-upstream origin improving_git
$ git fetch upstream
  • To come back to the master branch:
$ git checkout master
$ git pull upstream master

Additional material