Skip to content

luis-panadero/git-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-scripts

Bash Scripts to help with multiple git repositories

fetch.sh

Simple script that does a fetch on every repository that resides inside a directory.

removeTarget.sh

Simple script that executes a "mvn clean" inside of every maven projects inside a folde

rmTarget.sh

Simple script that clear "target" folder inside of every folder (only depth 2). Useful if you have a bunch of maven projects but actually are only working on a few. Deleting the unused target folders, could clean some noticeable hard disk space.

sync_git_all.sh

This script can do a git pull over every repository that resides inside a directory. Does a recursive search of git repositories over the directory that takes as argument, and does a git pull over the develop branch.

It get back to the branch where the repository was and does a git stash of any local changes and restores the stash when the pull process ends. Also, launch many process to process every repository on parallel.

It would stop if finds an error when does a git fetch/pull on a repository

About

Bash Scripts to help with multiple git repositories

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages