Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.56 KB

File metadata and controls

41 lines (34 loc) · 1.56 KB

See How to contribute in KServe community repository.

Working copy preparation for ODH development

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.

  1. Clone your fork of the repository:
GH_USER={your-github-user}
$ git clone git@github.com:${GH_USER}/kserve.git 
  1. Add opendatahub-io/kserve repository as a remote:
$ git remote add odh git@github.com:opendatahub-io/kserve.git
  1. Add kserve/kserve repository as a remote:
$ git remote add kserve git@github.com:kserve/kserve.git
  1. 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)