We welcome contributions to Quickcmd! Whether you're fixing bugs, improving documentation, or adding new features, we appreciate your help.
- Go to the Quickcmd repository and click on the "Fork" button at the top right corner of the page.
After forking, clone the repository to your local machine:
git clone https://github.com/yourusername/quickcmd.git
cd quickcmd
Create a new branch for your changes. This ensures your main branch remains clean and you can easily make multiple contributions.
git checkout -b feature-name
Now that you're in your new branch, start coding your feature, fixing a bug, or improving documentation. Make sure to follow the coding standards and guidelines mentioned below.
Before committing, ensure your code runs as expected and doesn't break existing functionality. If the project includes unit tests, run them using:
# Example command, adjust as necessary based on your setup
make test
Write clear and concise commit messages following these guidelines:
- Use the imperative mood in your commit message (e.g., "Fix bug" instead of "Fixed bug").
- Separate the subject from the body with a blank line.
- Limit the subject line to 50 characters.
- Reference any relevant issues or pull requests in your message.
git add .
git commit -m "Short description of changes"
Push your changes to your forked repository:
git push origin feature-name
Once your changes are pushed, go to the original repository on GitHub and open a Pull Request (PR). Explain the purpose of your PR, the problem it solves, and any additional context.
- Code Style: Follow the existing code style as closely as possible. Use consistent formatting and indentation.
- Modular Code: Write modular, reusable, and well-documented code. Each function should have a clear purpose.
- Comments: Add comments where necessary, especially to explain complex logic.
- Documentation: Update documentation as necessary, including adding explanations for new features and updating examples.
If you find a bug, please open an issue on GitHub with the following details:
- Description: Provide a clear and concise description of the bug.
- Steps to Reproduce: Include any steps needed to reproduce the issue.
- Expected Behavior: Explain what should happen.
- Actual Behavior: Explain what actually happens.
We welcome feature requests! If you have an idea for a new feature, feel free to open an issue with a description and use cases. Explain why this feature would be beneficial and how it fits within the project's scope.
By contributing to Quickcmd, you agree that your contributions will be licensed under the same license as the project. The project is licensed under MIT License.