Exploring Additional Slash Commands
In this lesson we will take a look at some additional slash commands and their usage.
We saw a few of the most commonly employed slash commands used through a typical pull request process. We’ll expand on that next by creating a new PR and experimenting with a few other commands.
Creating a PR for experimentation
git checkout mastergit pullgit checkout -b my-pr
We created a new branch called my-pr.
Next, we’ll make a minor change to the source code and push it to the newly created branch. Otherwise, GitHub would not allow us to make a pull request if nothing changed.
echo "My PR" | tee README.mdgit add .git commit \--message "My second PR with prow"git push --set-upstream origin my-pr
We are finally ready to create a pull request.
jx create pullrequest \--title "My PR" \--body "What I can say?" \--batch-mode
Please open the link from the output in your favorite browser.
You will notice that this time your colleague is ...