Skip to content

b1fair/get-git-object

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

get-git-object

Decode a git object for viewing, useful perhaps for some forensic case one day

git seems to store objects zlib compressed, with some minimal formatting. Linux's compress -d will not decode them though. This little utility does what I had hoped compress -d did.

Usage: ./gitit.py <file>

You can run it from a .git/objects directory like so, to dump everything:

for i in `find . -type f`; do /path/to/gitit.py $i; done

About

Decode a git object for viewing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages