Skip to content

The batch to execute git commands on multiple repositories.

Notifications You must be signed in to change notification settings

lewisliu725/gitbatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gitbatch

The batch to execute git commands on multiple repositories.

Usage for Windows

Prerequisites

  • The GIT Client is installed.
  • The GIT Client is configured properly, which means you can run the git commands successfully.

Steps

  1. Copy the gitb.bat to your local folder which contains multiple git repositories.

  2. Open a terminal, and locate to the folder.

  3. Then you can type the gitb commands same as how you type the git commands.

    For example:

    The commands below will pull and rebase the code for all the code repositories under current folder.

    gitb pull --rebase --autostash

Usage for Linux

All the steps are same as the steps for Windows, the only difference is gitb.sh will be used instead of gitb.bat.

About

The batch to execute git commands on multiple repositories.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published