Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

GitGrepBugs

Grep Bugs with Git

The goal of this script is to be able to scan git repos with GrepBugs (http://www.grepbugs.com) rules and requiring little to no dependencies. Currently the only dependency is a bash shell and the git command. Git has some really good search capability, you can find a great introduction by https://github.com/travisjeffery here http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja/

Usage

Examples below assume the GitGrepBugs script is in your PATH.

Example 1:

git clone https://github.com/<user>/<project>
cd <project>
GitGrepBugs

Example 2:

git clone https://github.com/<user>/<project>
GitGrepBugs <project>

Output

Currently results are just printed to the console. You can redirect the output to a file, example:

GitGrepBugs <project> > results.txt

About

Grep Bugs with Git

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.