We're thrilled you're interested in contributing to Git AI! This document provides guidelines for making contributions to this project. By participating in this project, you agree to abide by its terms and contribute to the improvement of automated commit messages using AI.
Start by forking the project repository to your GitHub account. This creates a personal copy where you can work on changes without affecting the original project.
Clone your fork to your local machine to start working on the changes.
git clone https://github.com/oleander/git-ai.git
cd git-ai
For each new feature or bug fix, create a new branch based on the main
branch. This keeps your changes organized and simplifies the process of integrating your contributions.
git checkout -b feature/my-new-feature
or
git checkout -b fix/my-bug-fix
- Follow the coding standards already in place within the project.
- Write meaningful commit messages that clearly describe your changes.
- Include comments in your code where necessary to explain complex logic.
Before submitting a pull request, make sure your changes do not break the existing functionality. Run the project's test suite and, if possible, add new tests to cover your contributions.
cargo test
If you're adding a new feature or changing existing functionality, update the README.md and any relevant documentation. Clear, concise documentation ensures that everyone can benefit from your contributions.
-
Push your changes to your fork:
git push origin feature/my-new-feature
or
git push origin fix/my-bug-fix
-
Go to your fork on GitHub and click the "Pull Request" button to submit your changes.
-
Provide a concise and clear description of your changes, explaining the purpose of your contributions and any relevant details.
-
Submit your pull request to the main project for review.
The project maintainers will review your pull request. This process helps ensure the quality and consistency of the project. You may receive feedback or requests for changes to your contributions. This is a normal part of the contribution process, and we encourage you to see it as an opportunity to learn and improve.
We aim to maintain a respectful and collaborative environment. We expect all contributors to:
- Be respectful of different viewpoints and experiences.
- Gracefully accept constructive criticism.
- Focus on what is best for the community and the project.
Harassment, derogatory comments, and personal attacks are not tolerated in this project.
If you have any questions or need further clarification about contributing, please open an issue with your question.
Thank you for contributing to Git AI! Your efforts help make this project better for everyone.