First off, thank you for considering contributing. It’s people like you who make Stable Diffusion such a great tool.
Before you begin, make sure you have a GitHub account and that you have forked the repository to your own GitHub account. Clone it to your local machine to begin making changes.
Here's a quick rundown of how you should go about making a change:
-
Create your own branch from
develop
: Avoid making changes in thedevelop
branch directly. Instead, create a new branch for your changes. Use a short, descriptive name for your branch, likefeature-enhance-ui
orbugfix-ui-state-save
. -
Make your changes: Implement your changes, adhering to the coding conventions and standards.
-
Commit your changes: Make sure your commit messages are clear and follow the best practices. E.g., "Add feature to ..." or "Fix issue with ..."
-
Pull the latest changes from
develop
: Before submitting a pull request, make sure your branch is up to date with the latest changes in thedevelop
branch. -
Push your changes: Push your changes to your fork on GitHub.
-
Submit a pull request: Open a pull request from your branch to the
develop
branch of the original repository. Provide a concise and informative title and description for your pull request. Link any relevant issues.
Once your pull request is merged, you might want to clean up your branches and pull the latest changes from the main repository to ensure your local copy is up-to-date.
-
If you're not sure where to start, look for open issues labeled "good first issue" or "help wanted."
-
Feedback and constructive criticism are always welcome. We’re looking to learn and improve.
-
If you're looking for a specific way to contribute, reviewing pull requests is a great place to start.
Thank you for contributing! Your efforts help improve the experience for everyone using the extension.