Thank you for your interest in contributing to Yazi! We welcome contributions in the form of bug reports, feature requests, documentation improvements, and code changes.
If you encounter a bug and can reliably reproduce it, please file a bug report with a minimal reproducer. Include the repository version, environment details, expected behavior, actual behavior, and relevant logs or configuration.
If you want to request a feature, please search existing issues and discussions before submitting it. Explain the use case, the expected behavior, and why the change is necessary.
Documentation improvements are welcome. Make documentation changes in the Yazi documentation repository, and keep examples and instructions synchronized with the current behavior.
-
Create a new branch for your changes:
git checkout -b your-branch-name
-
Make your changes. Follow the target repository's coding style and run its formatter, linter, and tests when applicable.
-
Commit your changes with a descriptive commit message:
git commit -m "feat: an awesome feature" -
Push your changes to your fork:
git push origin your-branch-name
If you have an idea, before raising a pull request, we encourage you to file an issue to propose it, ensuring that we are aligned and reducing the risk of re-work.
We want you to succeed, and it can be discouraging to find that a lot of re-work is needed.
-
Ensure your fork is up-to-date with the upstream repository:
git fetch upstream git checkout main git merge upstream/main
-
Rebase your feature branch onto the
mainbranch:git checkout your-branch-name git rebase main
-
Create a pull request to the
mainbranch of the upstream repository. Follow the pull request template and ensure that:- Your changes pass the target repository's relevant checks.
- Your pull request description clearly explains the changes and why they are needed.
-
Address any review comments. Make sure to push updates to the same branch on your fork.
This reposistory follows the Yazi AI Policy.