-
Notifications
You must be signed in to change notification settings - Fork 685
Contributing
The official trunk for Fluent NHibernate is hosted on GitHub. Where possible, we prefer contributors to fork us on GitHub, push changes to their repository and send us (jagregory and paulbatum) a pull request. We also accept submissions in the form of .patch files though this is certainly not preferred.
-
Download, install and configure msysgit. Jason Meridth has written an excellent introduction to git for Windows developers and the first post with walk you through this process - follow it up to and including the 'Generating SSH Keys' section.
-
Create a GitHub account and give GitHub your public key. Again, Jason Meridth has covered this.
-
Go to the GitHub page for the official trunk and hit the 'fork' button.
-
Now that you have your own fork of Fluent NHibernate, you can work on that fork by cloning it locally. This is an easy step, but GitHub still has a guide for it.
-
IMPORTANT: Once you've successfully created a local clone of your fork, you have to make sure you set the core.autocrlf setting to false. Do this by opening a command line inside your Fluent NHibernate directory and enter the following command:
git config core.autocrlf false
If you fail to do this correctly, you'll find that a diff of your changes will have many whitespace/line ending differences. This can manifest itself in the form of files appearing to have changed when they haven't, and entire files appearing as changed in diffs.
-
Work with your local repository and push your changes to your GitHub fork when you are ready. Follow the linked guide (above) by Jason for more basics on how to use Git.
-
When you are ready to send us your changes, hit the 'pull request' button on the GitHub page for your FNH fork. Enter a helpful message and send it!