Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 973 Bytes

README.md

File metadata and controls

60 lines (39 loc) · 973 Bytes

lib

A collection of frameworks, languages, libraries, plugins, repositories, for inspiration.

Adding new submodules

A helper script is used to add multiple repositories to $dir:

  • From file with list of repos, newline-separated:
./add-submodules.sh $dir < $file
  • From stdin:
./add-submodules.sh $dir

List remote repos from directory

A helper script is used to list the origin remote URLs for all repos into stdout:

  • In current directory:
./list-remote-urls.sh
  • In specific directory:
./list-remote-urls.sh ~/path/to/repos_dir

Output can be directly piped into the add-submodules script:

./list-remote-urls.sh ~/path/to/repos_dir | ./add-submodules.sh $dir

Update submodules

A helper script can be used to update submodules from upstream (not recursive, it's already heavy enough as it is):

  • Update all:
./pull-all.sh
  • Update all in folder:
./pull-all.sh $path