FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

softagram/allrepos-utility: Allrepos python utility for running operations with multiple repos · GitHub

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

allrepos.py: get stuff done with 100x git repo directories

Utility for working with multiple repos when repos have been placed in a single top level dir

Couple of example use cases

Run fetch for all

python allrepos.py fetch

Get default branches

python allrepos.py symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@ @'

Delete all branches with name foo from remotes:

python allrepos.py ls-remote --exit-code --heads origin foo IF_OK_EXECUTE_ALSO push origin --delete foo

Requirements

  • Python 3.6+ since uses f-strings.
  • Git.

Note: the examples here involve usage of unix tools, but this is not limited to unix.

About

Allrepos python utility for running operations with multiple repos

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL