Node Git Manager is a simple tool to manage your local Git repositories. It allows you to run batch commands on all your repositories simultaneously.
Featured operations:
fetch
: Fetch updates for all registered repositories.pull
: Pull updates for all registered repositories.push
: Push changes for all registered repositories.stat
: Show the status of all registered repositories.sync
: Synchronize all registered repositories (fetch and pull).
Commands for managing registered local repositories:
ls
: List all registered repositories.register
: Register a new local Git repository.rm
: Remove a registered repository by its nickname.
npm i -g node-git-manager
pnpm add -g node-git-manager
yarn global add node-git-manager
bun install -g node-git-manager
ngm --help
npm rm -g node-git-manager
NGM uses env-paths
to determine its local data storage location. To completely remove NGM and its stored data from your system, you can delete the following directories:
# Linux (per Freedesktop spec)
~/.local/share/ngm-nodejs/
# macOS
~/Library/Application Support/ngm-nodejs/
# Windows
%LOCALAPPDATA%\ngm-nodejs\