Skip to content

GitScan: A powerful tool for examining and searching through all details and history of a Git repository.

Notifications You must be signed in to change notification settings

ChetanXpro/gitscan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

GitScan (git_dumper.sh)

GitScan is a simple but very useful tool for looking through all the details of a Git repository. This can be a big help if you need to check and want to search anything in your all previous commits.

Overview

The script uses Git and Unix commands to look through everything in your Git repository and print out details of all Git objects.

Objects in Git include things like commit objects, where details about changes are stored, blob objects, which store file data, and tree objects, which are like directories.

This script is meant to be used on Unix-based systems and needs both Git and a standard shell.

window users can use git bash or wsl

How to Use

To use the script, you'll first need to navigate to your Git repository using your terminal. Then:

Allow the script to be executed with this command:

chmod +x ./git_dumper.sh

Now you can run the script with:

./git_dumper.sh

This will print out details of all Git objects in your repository.

If you want to find something specific, you can add a grep command at the end:

./git_dumper.sh | grep -a 'your_keyword'

Just replace 'your_keyword' with whatever you're looking for.

For example, if you want to look an OpenAI API key you can do:

  • openai api key starts with 'sk-'
./git_dumper.sh | grep -a 'sk-'

You can even try looking for an API key or other important pieces of text you know.

Happy hunting!

About

GitScan: A powerful tool for examining and searching through all details and history of a Git repository.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages