Skip to content
This repository has been archived by the owner on Dec 6, 2020. It is now read-only.

adynemo/exgit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

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.

About

One tool to do some git commands on several repositories.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages