samedi 28 février 2015

[SCRIPT] [GIT] gind (git-find) - git repository file/pattern search made easy topic






gind (git-find)

Hello guys,

I made a little script for searching inside git repositories and I'd like to share it with you guys :)
Came with the idea when fixing BlueDroid errors while building CM12 for p970 xP

Download

It's here on GitHub:
https://github.com/Alphasquare/Gind

How to use

Types: string, file


Code:


gind <type...> <pattern...>

Installation

To install, simply wget the file or download the zip.

As sudo, do:


Code:


chmod +x gind.sh

to make it executable.

Then, to install it, do:


Code:


mv gind.sh /bin/gind

Now gind is available globally. You can add it to your home directory bin folder instead,


Code:


mv gind.sh ~/bin/gind

Example output:


Code:


$ gind file bd.h
bta/include/bd.h








Aucun commentaire:

Enregistrer un commentaire