find .git/objects/ -type f \| sed 's/\.git\/objects\/\///' | sed 's/\///g' | xargs -n1 -I% echo echo "%" \$\(git cat-file -p "%"\) \0 | xargs -n1 -0 sh -c This script finds all git objects and `git cat-file`'s their content. This is really just a helper function to play around with the internals of git repositories.

rautamiekka · 1 day ago Do you sometimes have trouble writing an essay, or is it just that inspiration leaves you and you still need to write?

For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

Subscribe to the feed for: commandlinefu.com © 2018 Dan's Tools | FAQs | API | Widget | Privacy

Related Articles