You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find the issue you want to work on (on the repo's issues page or create one if it doesn't exist).
Fork the repository to your own GitHub account.
Clone the forked repo to your local machine using git clone <your_forked_repo_url>.
Check the requirements (e.g., any documentation or setup guides).
Create a virtual environment (python3 -m venv venv).
Activate the virtual environment (e.g., source venv/bin/activate on macOS/Linux or venv\Scripts\activate on Windows).
Install all the requirements for the project (often using pip install -r requirements.txt or a similar command).
Sync your fork with the original repo (to make sure your fork is up to date with the upstream changes) – git remote add upstream <original_repo_url> and git fetch upstream followed by git merge upstream/main (or master).
Create a new branch for your changes (e.g., git checkout -b fix-issue-name).
Fix the issue by making necessary changes.
Test your changes to make sure everything works as expected.
Add the changes to staging (git add .).
Commit your changes with a clear message (git commit -m "Fix issue with ...").
Push your changes to your forked repo (git push origin <branch-name>).
Open a pull request to the original repository.
Compare and create the pull request, adding a detailed description of what you’ve done and any context necessary for the maintainers to understand your changes.