Git Tools

Git Commands

# Move within the .git directory
cd .git
# List commits
git log
# Write commits to a file
git log | grep commit | cut -d " " -f2 | xargs git show > commits

Tools

Git-Dumper is a tool designed to dump Git repositories exposed on websites.

git-dumper <URL>/.git/ <output-dir>

For an example see here.

Last updated

Was this helpful?