Skip to content

This shell script update all the git repositories that you have in a folder

License

Notifications You must be signed in to change notification settings

devCharles/gitRepoUpdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

gitRepoUpdater

This shell script updates all of the git repositories that you have in a folder

Instructions

To update all git repos in a folder you can use:

$ ./updateRepos.sh all

or

$ ./updateRepos.sh -a

To evaluate which repo update you can use:

$ ./updateRepos.sh each

or

$ ./updateRepos.sh -e

if you want to use the complete wizard, just use this:

$ ./updateRepos.sh

Installing to use globally

To install this script and use it anywhere in your system you may clone this repository

git clone https://github.com/devCharles/gitRepoUpdater.git

then cd into the new directory

$ cd gitRepoUpdater

now we must copy the 'updateRepos.sh' script to /usr/local/bin

$ sudo cp updateRepos.sh /usr/local/bin

and you can use the script by simply using

$ updateRepos.sh [flag]

Notes

  • in order to use this script you may need to have the right permission level to execute the script

About

This shell script update all the git repositories that you have in a folder

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages