Skip to content

Latest commit

 

History

History
64 lines (49 loc) · 1.81 KB

CONTRIBUTING.md

File metadata and controls

64 lines (49 loc) · 1.81 KB

To contribute to this GitHub project, you can follow these steps:

  1. Fork the repository you want to contribute to by clicking the "Fork" button on the project page.

  2. Clone the repository to your local machine using the following command:

git clone https://github.com/<YOUR-GITHUB-USERNAME>/Auto-GPT
  1. Install the project requirements
pip install -r requirements.txt
  1. Install pre-commit hooks
pre-commit install
  1. Create a new branch for your changes using the following command:
git checkout -b "branch-name"
  1. Make your changes to the code or documentation.
  • Example: Improve User Interface or Add Documentation.
  1. Add the changes to the staging area using the following command:
git add .
  1. Commit the changes with a meaningful commit message using the following command:
git commit -m "your commit message"
  1. Push the changes to your forked repository using the following command:
git push origin branch-name
  1. Go to the GitHub website and navigate to your forked repository.

  2. Click the "New pull request" button.

  3. Select the branch you just pushed to and the branch you want to merge into on the original repository.

  4. Add a description of your changes and click the "Create pull request" button.

  5. Wait for the project maintainer to review your changes and provide feedback.

  6. Make any necessary changes based on feedback and repeat steps 5-12 until your changes are accepted and merged into the main project.

  7. Once your changes are merged, you can update your forked repository and local copy of the repository with the following commands:

git fetch upstream
git checkout master
git merge upstream/master

Finally, delete the branch you created with the following command:

git branch -d branch-name

That's it you made it 🐣⭐⭐