Skip to content

Scan a folder to find git repos with unpushed branches and/or changes

License

Notifications You must be signed in to change notification settings

baruchiro/gh-local-changes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 installed. Then, you can install the extension with the following command:

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 installed. You can then clone the repository and run the program with the following commands:

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:

go build; gh local-changes ~/source

License

GH Local Changes is released under the MIT License.

About

Scan a folder to find git repos with unpushed branches and/or changes

Topics

Resources

License

Stars

Watchers

Forks

Languages