Skip to content

Conversation

@tcbyrd
Copy link
Contributor

@tcbyrd tcbyrd commented Jul 18, 2018

To help with testing out changes to various templates (e.g.: probot/template#77), I thought we should add an option to specify a branch. Turns out scaffold supports specifying a branch name that defaults to master, so this PR adds a command line flag to allow users to provide this option.

# Output of help message
➜   npx probot-app --help
Options:
...
-b, --branch <branch-name>  Specify a branch (default: master)

@tcbyrd tcbyrd requested a review from JasonEtco as a code owner July 18, 2018 18:27
Copy link
Member

@JasonEtco JasonEtco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea, looks good ✨ 🚀

@tcbyrd tcbyrd merged commit 032d479 into master Jul 18, 2018
@tcbyrd tcbyrd deleted the add-branch-option branch July 18, 2018 22:53
@hiimbex
Copy link
Contributor

hiimbex commented Jul 19, 2018

Totally missed this, but could this be the solution to creating multiple repos for usecases? Could we have a branch for each usecase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants