For instructions see https://git-scm.com/.
Go to https://github.com/drageelr/manim-data-structures and click the "fork" button.
git clone https://github.com/<your-username>/manim-data-structures.git
Once your fork is cloned, change the directory to enter the project folder:
cd manim-data-structures
git remote add upstream https://github.com/drageelr/manim-data-structures.git
Now, git remote -v
should show two remotes:
origin
: Your forked repository.upstream
: The Manim Data Structures repository
- Install Poetry by following the instructions on this link.
- Run
poetry install
inside the fork directory to install all dependencies. This command also creates a virtual environment which you can later enter by runningpoetry shell
from within the forked directory. - Install pre-commit by running
poetry run pre-commit install
. This ensures that each commit is properly formatted against the lintersblack
,flake8
andisort
.
git checkout dev
git pull upstream dev
git push origin dev
Once you have finalized your contribution, navigate to this link to create a new pull request and submit it.
Once your PR is approved, it will be merged into the dev
branch and eventually your contribution will make it through to the next release.
Thanks for contributing 😁!