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

[feature request] Specify location of config file #5

Open
openendings opened this issue Nov 2, 2018 · 2 comments
Open

[feature request] Specify location of config file #5

openendings opened this issue Nov 2, 2018 · 2 comments

Comments

@openendings
Copy link

openendings commented Nov 2, 2018

E.g. git pr-train --config-file=~/.pr-train-BUG-1337.yml.

Use case:

  • "I am using multiple git worktrees to multitask, and want to be able to refer to a 'global' config file from all of them."
  • (edit: as pointed out below, multiple trains in config solves this) "I have multiple PR trains in flight, and want to manage them all without any ln -s shenanigans."
@realyze
Copy link
Owner

realyze commented Nov 2, 2018

Hey Chris, you can have multliple trains in the .pr-train.yml

trains:
  train for feature 1:
    - tomas/feature-1/foo
    - tomas/feature-1/bar

  train for feature 2:
    - tomas/feature-2/foofoo
    - tomas/feature-2/barbar

Does that address your issue?

@openendings
Copy link
Author

Mostly; I would still need this when juggling multiple worktrees though. I'll amend the issue description to reflect this.

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

No branches or pull requests

2 participants