We welcome contribution from the community. The project is - as is CleanRL - under MIT license which is a very permissive license.
To contribute to this project, please follow these steps:
First, clone the repository using the following command:
git clone https://github.com/pytorch-labs/leanrl.git
Then, fork the repository by clicking the "Fork" button on the top-right corner of the GitHub page. This will create a copy of the repository in your own account. Add the fork to your local list of remote forks:
git remote add <my-github-username> https://github.com/<my-github-username>/leanrl.git
Create a new branch for your changes using the following command:
git checkout -b [branch-name]
Choose a descriptive name for your branch that indicates the type of change you're making (e.g., fix-bug-123
, add-feature-xyz
, etc.).
Make your changes to the codebase, then add them to the staging area using:
git add <files-to-add>
Commit your changes with a clear and concise commit message:
git commit -m "[commit-message]"
Follow standard commit message guidelines, such as starting with a verb (e.g., "Fix", "Add", "Update") and keeping it short.
Push your changes to your forked repository using:
git push --set-upstream <my-github-username> <branch-name>
Finally, create a pull request to merge your changes into the main repository. Go to your forked repository on GitHub, click on the "New pull request" button, and select the branch you just pushed. Fill out the pull request form with a clear description of your changes and submit it.
We'll review your pull request and provide feedback or merge it into the main repository.