| gh_feature_branch | R Documentation |
gh_feature_branch takes a feature name and creates a branch on the user's fork (createing this if necessary from an "owner/repo:branch".
It will
Fork to your account (if not already existing)
Clone to your machine (if not already cloned)
Move to preferred location
Create the requested fix/feature branch and switch to it
You can then
5. Edit, commit, push, repeat: success!
6. Squash if necessary
7. pull request from your/branch to upstream/main using gh_open_PR_url if you wish.
gh_feature_branch(
feature = "fix-piglet",
base = "textmatelives/textmate:main",
head_owner = "tbates",
local_path = "~/bin/tm/bundles/"
)
feature |
= "fix-piglet" |
base |
= "textmatelives/textmate:main" |
head_owner |
= "tbates" |
local_path |
= "~/bin/tm/bundle/" |
status
gh_open_PR_url()
Other github:
gh_message_search(),
gh_open_PR_url(),
xgh_check_base_name(),
xgh_get_current_branch()
## Not run:
gh_feature_branch("fix/font_issue", base = "textmatelives/textmate:main")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.