/gpc

GPC is an abbreviation for git pull checkout, this file will help you to pull/checkout to specific branch in multiple repositories.

Primary LanguageShell

gpc

GPC is an abbreviation for git pull checkout, this file will help you to pull or checkout to specific branch in multiple repositories. For example if you have an architecture like following:

                    ├── workRepo
                    │   ├── communityRepo
                    │   ├── enterpriseRepo
                    │   ├── upgradeRepo

So instead of going to the each folder and run git pull or git checkout master over and over You can simply use this file and do it with one command, otherwise you can use the commands of this file to create aliases.

To get started

  • place gcp.sh file where you have multiple repos
  • run chmod +x gcp.sh
  • run ./gcp.sh and follow instructions