-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Murali Reddy
committed
Jun 22, 2017
1 parent
0f6066e
commit b001331
Showing
3 changed files
with
213 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,59 @@ | ||
TODO | ||
|
||
# Contributing to Kube-router | ||
|
||
## Summary | ||
|
||
This document covers how to contribute to the kube-router project. Kube-router uses github PRs to manage contributions (could be anything from documentation, bug fixes, manfiests etc.). | ||
|
||
Please read [users guide](./Documentation/README.md#user-guide) and [developers guide](./Documentation/README.md#develope-guide) for the functionality and internals of kube-router. | ||
|
||
## Filing issues | ||
|
||
If you have a question about Kube-router or have a problem using it, please start with contacting us on [community forum](https://gitter.im/kube-router/Lobby) for quick help. If that doesn't answer your questions, or if you think you found a bug, please [file an issue](https://github.com/cloudnativelabs/kube-router/issues). | ||
|
||
## Submit PR | ||
|
||
### Fork the code | ||
|
||
Navigate to: [https://github.com/cloudnativelabs/kube-router](https://github.com/cloudnativelabs/kube-router) fork the repository. | ||
|
||
Follow these steps to setup a local repository for working on Kube-router: | ||
|
||
``` bash | ||
$ git clone https://github.com/YOUR_ACCOUNT/kube-router.git | ||
$ cd kube-router | ||
$ git remote add upstream https://github.com/cloudnativelabs/kube-router | ||
$ git checkout master | ||
$ git fetch upstream | ||
$ git rebase upstream/master | ||
``` | ||
|
||
### Making changes and raising PR | ||
|
||
Create a new branch to make changes on and that branch. | ||
|
||
``` bash | ||
$ git checkout -b feature_x | ||
(make your changes) | ||
$ git status | ||
$ git add . | ||
$ git commit -a -m "descriptive commit message for your changes" | ||
``` | ||
get update from upstream | ||
|
||
``` bash | ||
$ git checkout master | ||
$ git fetch upstream | ||
$ git rebase upstream/master | ||
$ git checkout feature_x | ||
$ git rebase master | ||
``` | ||
|
||
Now your `feature_x` branch is up-to-date with all the code in `upstream/master`, so push to your fork | ||
|
||
``` bash | ||
$ git push origin master | ||
$ git push origin feature_x | ||
``` | ||
|
||
Now that the `feature_x` branch has been pushed to your GitHub repository, you can initiate the pull request. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters