0.0.2 • Published 8 months ago

@freddydrodev/git-commit-all v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

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

0.0.2

8 months ago

0.0.1

8 months ago