Here is a detailed CONTRIBUTING.md file to guide contributors on how to contribute to your Autocommit-CLI project.
# Contributing to Autocommit-CLI 🚀
First off, thanks for considering contributing to **Autocommit-CLI**! 🎉
We welcome all contributions—whether it’s fixing a bug, improving documentation, or adding a new feature.
---
## 📌 How to Contribute
### 1️⃣ Fork the Repository 🍴
- Click the **"Fork"** button on the top right of this repo.
- This creates a copy of the repo under your GitHub account.
### 2️⃣ Clone the Forked Repository 🖥️
Run the following command in your terminal:
```sh
git clone https://github.com/Pranjal-88/Autocommit-CLI.git
cd Autocommit-CLI- Make sure you have Python 3.8+ installed.
- Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
Before making changes, create a new branch:
git checkout -b feature-branch-name- Edit the code in the
autocommit/directory. - Follow best practices and keep your code clean.
- Run tests to ensure everything works fine:
pytest
- Commit your changes with a meaningful message:
git add . git commit -m "feat: Added XYZ feature"
- Push the changes to your fork:
git push origin feature-branch-name
- Go to the original repository:
https://github.com/Pranjal-88/Autocommit-CLI - Click "New Pull Request" and select your branch.
- Provide a clear title and description of your changes.
- Click "Create Pull Request" 🎉
✔️ Follow PEP8 coding standards.
✔️ Keep pull requests small and focused.
✔️ Add comments where necessary.
✔️ Update README.md if changes affect usage.
- Open an issue if you found a bug.
- Reach out via Discussions if you have questions.
🚀 Happy Coding!
Thanks for contributing! ❤️
---
### **📌 How to Add This to Your Repo**
1. **Create the file**:
```sh
touch CONTRIBUTING.md
- Commit & Push:
git add CONTRIBUTING.md git commit -m "docs: Add contributing guidelines" git push origin main
This makes it easier for people to contribute effectively to your project! 🚀