@freddydrodev/git-commit-all
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Git Commit All

A CLI tool to commit changes in all git repositories within a directory structure.

Features

  • Recursively scans directories for git repositories
  • Commits changes with a custom message
  • Identifies projects without git repositories
  • Interactive CLI with prompts for directory and commit message
  • Provides a summary of operations performed

Installation

# Clone the repository
git clone https://github.com/yourusername/git-commit-all.git
cd git-commit-all

# Install dependencies
npm install

# Build the project
npm run build

# Install globally
npm install -g .

Usage

Run the CLI:

git-commit-all

The CLI will:

  1. Ask for the root directory path (defaults to ~/projects)
  2. Ask for the commit message (defaults to "save before restoring laptop")
  3. Ask for confirmation before proceeding
  4. Scan all directories and commit changes where needed
  5. Display a summary of operations performed

Development

# Run in development mode with watch
npm run dev

# Build the project
npm run build

# Run the built version
npm start

License

MIT

Package Sidebar

Install

npm i @freddydrodev/git-commit-all

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

3.73 MB

Total Files

5

Last publish

Collaborators

  • freddydrodev