Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (10 months ago)
- Default Branch: master
- Last Pushed: 2024-04-09T11:40:04.000Z (9 months ago)
- Last Synced: 2024-11-13T13:50:33.024Z (about 2 months ago)
- Topics: gh-extension, git
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- 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
```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).