https://github.com/baruchiro/gh-local-changes
Scan a folder to find git repos with unpushed branches and/or changes
https://github.com/baruchiro/gh-local-changes
gh-extension git
Last synced: 3 months ago
JSON representation
Scan a folder to find git repos with unpushed branches and/or changes
- Host: GitHub
- URL: https://github.com/baruchiro/gh-local-changes
- Owner: baruchiro
- License: mit
- Created: 2024-03-17T16:36:02.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-08-04T03:54:44.000Z (3 months ago)
- Last Synced: 2025-08-04T06:43:56.765Z (3 months ago)
- Topics: gh-extension, git
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GH Local Changes
GH Local Changes is a GitHub CLI extension that scans a given directory for Git repositories and reports on branches and changes that have not been pushed to the remote repository.
## Installation
To install GH Local Changes, you need to have the [GitHub CLI](https://cli.github.com/) installed. Then, you can install the extension with the following command:
```bash
gh extension install baruchiro/gh-local-changes
```
## Usage
To use GH Local Changes, run the following command:
```
gh local-changes
```
By default, GH Local Changes scans the current directory. You can specify a different directory by passing it as an argument:
```
gh local-changes ~/source
```
To print debug logs , use --debug flag :
```
gh local-changes --debug
gh local-changes --debug ~/source
```
GH Local Changes will recursively scan the specified directory for Git repositories. For each repository, it will report the branches and changes that have not been pushed to the remote repository.
## Contributing
To develop GH Local Changes, you need to have [Go](https://golang.org) installed. You can then clone the repository and run the program with the following commands:
```bash
git clone https://github.com/baruchiro/gh-local-changes.git
cd gh-local-changes
go build
gh extension install .
```
To continuously check your changes, you can run the following command:
```bash
go build; gh local-changes ~/source
```
## License
GH Local Changes is released under the [MIT License](LICENSE).