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

Enhancement #346

Open
jimasun opened this issue Dec 6, 2016 · 0 comments
Open

Enhancement #346

jimasun opened this issue Dec 6, 2016 · 0 comments

Comments

@jimasun
Copy link

jimasun commented Dec 6, 2016

Situation:

  • one project / one git
  • three sub folders
  • three remote locations, one / folder

Each folder source should target different remote locations on the same host.

Solution. Configure .json:

  1. Write global settings:

    • transport
    • hostname
    • port
    • username
    • password
    • uploadOnSave
    • ignore
    • etc.
  2. Write uploadMirrors

    • source
    • target
    • only what differs from global. '', [], undefined for empty

In this way, adhering to DRY.

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

1 participant