Skip to content

Automate Git pulls for all subdirectory repositories in one go.

License

Notifications You must be signed in to change notification settings

tkachenko0/gh-pullmaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Git Pullmaster

GitHub

A simple GitHub CLI extension that pulls updates for all git repositories located in subfolders of the current directory. This is particularly useful in the context of microservices.

📜 Description

This extension iterates over each directory in the current folder, checks if it is a Git repository, and if so, pulls the latest changes from the respective remote branch. It provides clear output indicating which repositories are being pulled and skips directories that are not Git repositories.

🛠️ Installation

To install this extension, you need to have the GitHub CLI installed. If you don't have it yet, you can find installation instructions here.

  1. Install the extension:
    gh extension install tkachenko0/gh-pullmaster

🚀 Usage

  1. Navigate to the directory containing your subdirectories with Git repositories.

    cd path/to/your/directory
  2. Run the extension:

    gh pullmaster

💻 Example Output

When you run the extension, you should see output similar to the following:

Pulling in ProjectA on branch main
Already up to date.
Skipping directory non-git-folder/ - not a git repository
Pulling in ProjectB on branch develop
Updating a1b2c3d..d4e5f6

📚 More Information

For more information on using GitHub CLI extensions, refer to the GitHub CLI documentation.

About

Automate Git pulls for all subdirectory repositories in one go.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages