Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--branches and --all-branches options #3

Closed
ryanmjacobs opened this issue Dec 14, 2014 · 1 comment
Closed

--branches and --all-branches options #3

ryanmjacobs opened this issue Dec 14, 2014 · 1 comment

Comments

@ryanmjacobs
Copy link
Owner

github-copywriter only updates the repository's default branch.

It would be a good to have a --branches option so that the user could update the copyrights on a specific branch. Or all branches with --all-branches

For example

$ github-copywriter --branch gh-pages MyRepo

or

$ github-copywriter --all-branches MyRepo
@ryanmjacobs
Copy link
Owner Author

Implemented in v0.1.1!

Final Syntax:

Update branch 'gh-pages'

$ github-copywriter --branches gh-pages MyRepo

Update branches 'gh-pages' and 'dev'

(note the comma used to separate branches)

$ github-copywriter --branches gh-pages,dev MyRepo

Update all branches

$ github-copywriter --all-branches MyRepo

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

No branches or pull requests

1 participant