- 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
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.