Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Contribute

danielwertheim edited this page Jun 13, 2012 · 6 revisions

Contribute

Missing a feature or just want to help out? To maximize the chances of getting your pull-request accepted, please take a moment to read this guide on how to contribute.

Setting up

  1. Fork the project and add an upstream. More info.
  2. Create a feature branch from the develop branch:
git checkout -b my-feature-branch develop
  1. Ensure you have line feeds, set to core.autocrlf=false
  2. In the root there's a setup-devenv.bat file which will use Ruby or more precisely, Rake to install NuGets.
  3. Tests are written using NUnit or https://github.com/machine/machine.specifications, follow their guide to get testrunner up and running.

Work, work, work...

  • Please, try to keep your changes small and focused. Small commits are preferred.
  • Write proper commit messages! Commit messages should be helpful to others.
  • Do your work in the open. Share your ideas with the community as early as possible.

Before sending the pull request

  1. Pull in changes to your develop branch from the official repository.
git checkout develop
git pull upstream/develop
  1. Rebase your feature branch against develop.
git checkout my-feature-branch
git rebase develop
  1. Finally, merge in you feature branch to develop
git checkout develop
git merge --no-ff my-feature-branch

Pull request

Now you can do the pull request against the official develop branch. Read more about pull-requests here.

Clone this wiki locally