https://github.com/rmariuzzo/githood
Run commands in a group of git repos.
https://github.com/rmariuzzo/githood
Last synced: 4 months ago
JSON representation
Run commands in a group of git repos.
- Host: GitHub
- URL: https://github.com/rmariuzzo/githood
- Owner: rmariuzzo
- License: mit
- Created: 2020-12-16T03:15:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-20T19:20:51.000Z (over 5 years ago)
- Last Synced: 2026-02-11T21:30:06.367Z (5 months ago)
- Language: TypeScript
- Homepage:
- Size: 412 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# githood
Run commands in a group of git repos.
| ⚠️ This project is under development.
| -
## Installation
```shell
npm i githood --global
```
Optionally, you can run with: `npx githood`
## Usage
```shell
githood --help
```
Optionally, you can use it with: `npx githood --help`
## Example
#### Running a command across git repos
```shell
githood git status
```
#### Running a command across git repos in a GitHub org
```shell
githood --org rmariuzzo -- git status
```
## Options
### `--name`
Run commands in repos matching the given name. A regexp can be provided as `'/expr/'`.
### `--org`
Filter git repos by GitHub organization or username.
### `--count`
Display the number of git repos.
### `--list`
Display all git repos.
## Development
1. Checkout the code.
2. Install dependencies: `npm i`
3. Watch and compile source: `npm run dev`
4. Test compiled source: `./bin.js`
---
License: [MIT](./LICENSE)
Author: [Rubens Mariuzzo](https://github.com/rmariuzzo)