Skip to content

metaory/bulk-git-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

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.

Scans directory for Git repos, saves origin URLs to /tmp/git-pack with preserved structure

🚧 TODO 🚧 git-unpack

Restores Git repos from /tmp/git-pack manifest (work in progress)


License

MIT

About

small collection of git bulk scripts

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Languages