0.0.2 • Published 8 months ago
@freddydrodev/git-commit-all v0.0.2
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-allThe CLI will:
- Ask for the root directory path (defaults to ~/projects)
- Ask for the commit message (defaults to "save before restoring laptop")
- Ask for confirmation before proceeding
- Scan all directories and commit changes where needed
- 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 startLicense
MIT