See How to contribute in KServe community repository.
To contribute, we recommend that you either fork the kserve/kserve, or fork the opendatahub-io/kserve repository. This is becase ODH contributors use GitHub flow.
The following steps outlines our recommended remotes setup. You will have three remotes. When contributing, please be aware of using the right base branch, depending on if you are contributing to kserve/kserve or opendatahub-io/kserve.
- Clone your fork of the repository:
GH_USER={your-github-user}
$ git clone git@github.com:${GH_USER}/kserve.git - Add opendatahub-io/kserve repository as a remote:
$ git remote add odh git@github.com:opendatahub-io/kserve.git- Add kserve/kserve repository as a remote:
$ git remote add kserve git@github.com:kserve/kserve.git- Your remotes setup would look similar to the following:
$ git remote -v
kserve git@github.com:kserve/kserve.git (fetch)
kserve git@github.com:kserve/kserve.git (push)
odh git@github.com:opendatahub-io/kserve.git (fetch)
odh git@github.com:opendatahub-io/kserve.git (push)
origin git@github.com:${GH_USER}/kserve.git (fetch)
origin git@github.com:${GH_USER}/kserve.git (push)