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.
- Host: GitHub
- URL: https://github.com/adynemo/exgit
- Owner: adynemo
- Archived: true
- Created: 2019-02-20T17:40:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-12T18:48:01.000Z (almost 6 years ago)
- Last Synced: 2023-03-12T18:45:18.950Z (over 2 years ago)
- Topics: ady, command-line, git, go, golang, multirepo
- Language: Go
- Homepage:
- Size: 2.5 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.