https://github.com/rvflash/gitwib
Git Where Is my Branch is a bash command line tool to search a branch by name in all local or remote git repositories
https://github.com/rvflash/gitwib
Last synced: 27 days ago
JSON representation
Git Where Is my Branch is a bash command line tool to search a branch by name in all local or remote git repositories
- Host: GitHub
- URL: https://github.com/rvflash/gitwib
- Owner: rvflash
- Created: 2015-12-10T13:55:31.000Z (almost 10 years ago)
- Default Branch: stable
- Last Pushed: 2023-06-22T16:07:29.000Z (over 2 years ago)
- Last Synced: 2025-03-23T09:35:14.507Z (8 months ago)
- Language: Shell
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitWib
GIT, where is my branch ?
Bash command line tool to search a branch by name in all local or remote GIT repositories
## Usage
By default, GitWib uses the current directory as root for all GIT repositories. To overload it, use -d option.
To use it in local environment only, use -l option.
```bash
usage: gitwib -b branch [-d rootDirectory] [-l]
-b Branch named to search
-d Root directory with GIT repositories to explore
-l used to keep in local search
```
## Quick start
Launch `makefile.sh` in order to create the alias `gitwib`.
```bash
~ $ git clone https://github.com/rvflash/gitwib
~ $ cd gitwib
~ $ ./makefile.sh
```
Then open a new shell terminal and make your first search !
```bash
~ $ gitwib -b master -l
~ [++++++++++++++++++++] 100%
~
~ Branch named master was found in /awql-docs/
~ Branch named master was found in /bash-packages/
~ Branch named master was found in /gitwib/
```
## Required
GIT command line tool
Enjoy!