Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.36 KB

README.md

File metadata and controls

61 lines (44 loc) · 1.36 KB

BULK-GIT-TOOLS

small collection of git bulk scripts


Installation | Scripts | Issue?

Installation

  • clone repo
  • give execution permissions
  • link them in path
# Clone the repo
git clone git@github.com:metaory/bulk-git-tools.git

# Navigate to repo
cd bulk-git-tools

# Give execution permissions
find src -type f -exec chmod +x {} +

# Link it somewhere in your PATH
find src/ -type f -executable -exec sh -c 'ln -svf "$PWD/${0#*/}" /usr/bin/${0#*/}' {} \;

# Use them anywhere

Scripts

Recovers a corrupted shallow local Git repository

Fetches all latest remotes and reset to default HEAD

Clones all public repositories from a specified organization

Dumps all Git repositories in the current working directory into a structured file, including essential information like remote URLs and local paths.

Open the Git repository in the current working directory in browser.


License

MIT