curl -fsSL get.githem.com | sh
githem owner/repo
githem .
githem https://github.com/owner/repo
-o FILE |
output to file |
-i PATTERN |
include patterns |
-e PATTERN |
exclude patterns |
-b BRANCH |
branch |
--preset NAME |
filter preset |
--stats |
show statistics |
raw |
no filtering |
standard |
default smart filtering |
code-only |
source code only |
minimal |
basic filtering |
# code only
githem owner/repo --preset code-only
# specific files
githem . -i "*.rs" -e "tests/*"
# output to file
githem owner/repo -o output.txt
# specific branch
githem owner/repo -b develop
# compare branches
githem owner/repo/compare/main...feature
githem --cache-stats
githem --clear-cache
githem owner/repo --no-cache
curl https://githem.com/owner/repo
curl "https://githem.com/owner/repo?preset=code-only"
node_modules, vendor, target, build artifacts, media, binaries, lock files
use ssh: githem [email protected]:company/private.git
typically 60-80% with standard preset
~1 token per 4 characters, shown with --stats