A tool (cli & lib) to find local git repositories.
* Why * Usage Cli * Install * Via rust toolchain * Via pre-build binaries * Related and similar * Informations * Actions (broadcast) * TODO
Because I need a tool to list and to reorg my local git repositories.
```sh $> git-find -h
git-find 0.2.0 davidB A tool (cli & lib) to find local git repositories.
USAGE: git-find [FLAGS] [OPTIONS] [DIR]
FLAGS: -h, --help Prints help information -V, --version Prints version information -v, --verbose Verbose mode (-v, -vv, -vvv, etc.) print on stderr
OPTIONS:
-t, --tmpl
ARGS:
git status
to every repositories```sh git find -t 'cd {{ .path.full }}; echo "\n\n---------------------------------------------\n$PWD"; git status' | sh ````
The template format is a subset of golang text/template.
!! Experimental: values could change with future release !!
tmpl
{{ .path.file_name }}\t{{ .path.full }}
```tmpl {{ .path.filename }}\t{{ .path.full }}\t{{with .remotes.origin}} {{ .name }} {{.urlfull}} {{.urlhost}} {{.urlpath}} {{end}} ````
tmpl
cd {{ .path.full }}; echo "\n\n---------------------------------------------\n$PWD"; git fetch
sh
cargo install git-find
!! Experimental !!
sh
tar -xzvf git-find_0.2.2-linux.tar.gz
chmod a+x git-find
mv git-find $HOME/bin
rm git-find_0.2.2-linux.tar.gz
Some tools to help management of multi repository But not the same features, else no need to re-do.