Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/metaory/bulk-git-tools

small collection of git bulk scripts
https://github.com/metaory/bulk-git-tools

git git-script git-utils

Last synced: 12 days ago
JSON representation

small collection of git bulk scripts

Awesome Lists containing this project

README

        



BULK-GIT-TOOLS


small collection of git bulk scripts




Installation |
Scripts |
Issue?

---

Installation
------------

- clone repo
- give execution permissions
- link them in path

```sh
# Clone the repo
git clone [email protected]: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
-------

### [git-reset-local](src/git-reset-local)
Recovers a corrupted shallow local Git repository

### [git-update-all](src/git-update-all)
Fetches all latest remotes and reset to default HEAD

### [git-clone-org](src/git-clone-org)
Clones all public repositories from a specified organization

### [git-clone-list](src/git-clone-list)
Dumps all Git repositories in the current working directory into a structured file,
including essential information like remote URLs and local paths.

### [git-open-repo](src/git-open-repo)
Open the Git repository in the current working directory in browser.

---

License
-------
[MIT](LICENSE)