0.0.11 • Published 5 years ago

mgr-tools v0.0.11

Weekly downloads
20
License
MIT
Repository
-
Last release
5 years ago

MGR Tools (Multiple Git Repositories Tools)

MGR Tools are collection of useful command for working with multiple git repositories simultaneously.

Install

Run npm install -g mgr-tools

Commands

mgr

Shows the list of all repositories in the directory with local changes.

mgr -detail or mgr -d

Same as mgr with a detailed list of changed files for every repository.

mgr branch

Shows the currently checked out branches for every repository in the directory.

mgr branch:branchName [-no-checkout] [-with-changes]

Creates new branch named branchName in every repository.

When run with -no-checkout attribute, it only creates the new branch without checking it out. Your current working branch stays the same as before.

When run with -with-changes attribute, it only creates the branch in the repositories whit local changes.

mgr checkout:branchName

Switches to branch branchName in every repository.

When run without branch name, it shows the currently checked out branches, same as mgr branch

mgr commit -m "your commit message" [-staged] [-ibn] [-ifbn]

Commits all changes in all repositories with a common commit message.

When run with -staged attribute, it only commits stages files.

When run with -ifbn (include full branch name), automatically adds the full branch name to the commit message.

When run with -ibn (include branch name), automatically adds the last part (after last '/') of the branch name to the commit message.

mgr target

Copies all changed and new files to the taget/dev directory. Does not copy .less files.

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago