Welcome to kservice, which is a simple api interface to run the command in Kubernetes.
One of the most effective ways to collaborate on GitHub is by using a forking/branching model as described in the Pull Request:
- Fork the main repository to your personal GitHub space.
- Clone this new fork locally to your computer. Make sure you use the SSH URL, not the HTTPS URL. This will be your origin remote.
- Add an upstream remote whose URL is the SSH URL of the main repository -
git remote add upstream {{url}}
, replacing{url}}
with the main repo's URL. - Each time you begin doing work on a new story, check out the master branch by doing
git checkout master
. You will only be able to do this if you don't have any changes in your local codebase. - Pull in the latest changes from upstream's master branch -
git pull upstream master
. - Create a new feature branch, named something relevant to the story being worked on -
git checkout -b {{branch-name}}
, replacing{{branch-name}}
with the name of your branch. - Push your new branch to your origin remote -
git push -u origin {{branch-name}}
. - Add your commits and push to that branch -
git push origin {{branch-name}}
. - Issue a Pull Request in to the upstream repository when the work is done.
- Once the Pull Request is merged, delete the local and remote branch you worked on -
git branch -d {{branch-name}}
for local,git push origin :{{branch-name}}
for remote. Please avoid to reuse a branch after it has been merged.