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

https://github.com/adynemo/exgit

One tool to do some git commands on several repositories.
https://github.com/adynemo/exgit

ady command-line git go golang multirepo

Last synced: 4 days ago
JSON representation

One tool to do some git commands on several repositories.

Awesome Lists containing this project

README

          

Now on GitLab: https://gitlab.com/adynemo/exgit

EXGIT v1.0.1

A script to do some git commands on several repositories.


```
$ exgit --help
_____ _____ ___ _____
| __\ \/ / __|_ _|_ _|
| _| > < (_ || | | |
|___/_/\_\___|___| |_| [Ady]

-v exgit version
-s git status
-P git pull
-c git-clean
-b git branch
```


`exgit [option] [path]`

Option: please do `--help` to get the options list.

Path: the path of the directory where there are repositories.


`git-clean` is an alias for:

`git remote prune origin && git branch -vv | grep \"origin/.*: gone]\" | awk \"{print }\" | xargs git branch -D 2>/dev/null`

This command checks and removes all deleted branches.