-
Notifications
You must be signed in to change notification settings - Fork 67
Development Workflow
The following steps describe the process of contributing to Courseography:
-
Create and switch to a feature branch based on up to date local master branch
$ git checkout -b issue-12345
-
Modify the files with the changes you want to implement. To check which files you've modified, as well as view your changes, use:
$ git status $ git diff
-
Commit your changes (small commits are beautiful) on your feature branch
$ git add path/to/file.hs # Or "git add ." $ git commit -m "Fix for issue 12345: Implemented x behaviour in file.hs"
-
Write a descriptive commit message when possible
-
Repeat Steps 2, 3 & 4 until you are satisfied with your work and want to contribute to the main Courseography repository.
-
Before setting up a review request, make sure your issue and master branches are up to date, making sure the change-sets you just pulled in do not affect your code.
-
Ready to submit? Push your branch to your personal Courseography fork:
$ git push origin issue-12345
-
Go to your GitHub fork and change to your issue branch. You should see the button "Pull Request". Fill in the issue number, quick summary of the issue, description of the fix, and what testing was performed.
-
Click "Create Pull Request" and wait for feedback!