Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including git-manage with all npm packages installed. Try it out:

git-manage lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("git-manage/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

git-manage v1.0.1

A tool to manage syncing of all local git reposetories to their remotes

git-manage

Build Status npm version A cli tool to manage syncing of all local git repositories to their remotes

Installation

npm install git-manage

Usage

CommandDefinition
-V, --versionoutput the version number
-a, --add [repo]Add a git repo to manage list
-l, --listList all tracked git repos
-r, --remove [repo]Remove an entry from managed list
--remove-allRemove all repos from managed list
-s, --syncSyncs all added repos to remote
--sync-one [repo]Syncs specific repo to remote
--select [repo]Used to specify branch for further action
-b, --branch [branch]Add branch to add to managed list, requires --select
--remove-branch [branch]Removes branch from managed list, requires --select
-h, --helpoutput usage information

Sync

By default, only the master branch is synced, you can add more with --branch

The -s option syncs all of the watched repos on the list to their masters. However using the --sync-one [repo] can be used to exclusively sync one repository to its remote.

The -b and --branch options require a specified --select [repo] in order to add a branch to the managed list.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free