Skip to content

Work with two git repositories in perfect tandem.

License

Notifications You must be signed in to change notification settings

ang3lkar/tangit

Repository files navigation

tangit

oclif Version Downloads/week License: MIT

Runs the same git command in two repositories. Useful when working for example with a server repo and a client repo.

Alt Text

Installation

$ npm install -g tangit

Usage

$ npm install -g tangit
$ tangit COMMAND
running command...
$ tangit (-v|--version|version)
tangit/1.0.7 darwin-x64 node-v11.6.0
$ tangit --help [COMMAND]
USAGE
  $ tangit COMMAND
...

Commands

tangit checkout [BRANCH]

Checkout branch in both repositories

USAGE
  $ tangit checkout [BRANCH]

OPTIONS
  -b, --branch=branch  Which branch to checkout. If branch does not exist, it will fallback to "master".

See code: src/commands/checkout.js

tangit help [COMMAND]

display help for tangit

USAGE
  $ tangit help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

tangit pull

USAGE
  $ tangit pull

See code: src/commands/pull.js

tangit status

Check branch in both repositories

USAGE
  $ tangit status

See code: src/commands/status.js

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Work with two git repositories in perfect tandem.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published