Files
Umbraco-CMS/.github/CONTRIBUTING.md
Andy Butland fa9ae32a1a Update build and contributing docs (#18223)
* 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>
2025-02-05 16:26:53 +01:00

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:

  1. Fork

    Create a fork of Umbraco-CMS on GitHub

    Fork the repository

  2. 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.

    Clone the fork

  3. Switch to the correct branch

    Switch to the contrib branch

  4. 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.

  5. 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 18132 that affects Umbraco 15.

    Don't commit to contrib, create a new branch first.

  6. Change

    Make your changes, experiment, have fun, explore and learn, and don't be afraid. We welcome all contributions and will happily give feedback.

  7. Commit and push

    Done? Yay! 🎉

    Remember to commit to your new temp branch, and don't commit to contrib. Then you can push the changes up to your fork on GitHub.

  8. 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.

Further contribution guides