* Updates to build and contributing guide. * Update .github/BUILD.md Co-authored-by: Sven Geusens <sge@umbraco.dk> * Add npm ci. * Apply suggestions from code review Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com> * Update .github/BUILD.md Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com> --------- Co-authored-by: Sven Geusens <sge@umbraco.dk> Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
2.7 KiB
Contributing to Umbraco CMS
👍🎉 First off, thanks for taking the time to contribute! 🎉👍
These contribution guidelines are mostly just that - guidelines, not rules. This is what we've found to work best over the years, but if you choose to ignore them, we still love you! 💖 Use your best judgement, and feel free to propose changes to this document in a pull request.
Getting Started
We have a guide on what to consider before you start and more detailed guides at the end of this article.
The following steps are a quick-start guide:
-
Fork
Create a fork of
Umbraco-CMSon GitHub -
Clone
When GitHub has created your fork, you can clone it in your favorite Git tool or on the command line with
git clone https://github.com/[YourUsername]/Umbraco-CMS. -
Switch to the correct branch
Switch to the
contribbranch -
Build
Build your fork of Umbraco locally as described in the build documentation, you can build with any IDE that supports dotnet or the command line.
-
Branch
Create a new branch now and name it after the issue you're fixing, we usually follow the format:
v{major}/{feature|bugfix|task}/{issue}-{description}. For example:v15/bugfix/18132-rte-tinymce-onchange-value-check.This means it's a temporary branch for the particular issue you're working on, in this case a bug fix for issue number
18132that affects Umbraco 15.Don't commit to
contrib, create a new branch first. -
Change
Make your changes, experiment, have fun, explore and learn, and don't be afraid. We welcome all contributions and will happily give feedback.
-
Commit and push
Done? Yay! 🎉
Remember to commit to your new
tempbranch, and don't commit tocontrib. Then you can push the changes up to your fork on GitHub. -
Create pull request
On GitHub, in your forked repository (
https://github.com/[YourUsername]/Umbraco-CMS) you will see a banner saying that you pushed a new branch and a button to make a pull request. Tap the button and follow the instuctions.Want to read further? Creating a pull request and what happens next.

