GIT-GRAB(1)
β¨ GIT-GRAB π
okay so bestie, welcome to git-grab(1) β a page from the General Commands Manual, and honestly? it's giving "clone git repos to a standard location" main character energy π
πΈ NAME πΈ
git-grab β clone git repositories to a standard location π
π¦ SYNOPSIS π¦
git-grab [-chnpV] URL ... [-- git arguments ...]
π DESCRIPTION π
ok so literally, the git-grab utility clones git repositories to a standard location, and it organises them by domain name and path ποΈβ¨. You just pass one or more URL to clone, that's it, that's the whole vibe. And if you wanna hand extra arguments to git itself? Just drop them after -- and it slays π«Ά
The following options are available:
-c,--clipboardβ pastes a URL to clone from the clipboard π (no cap, it just grabs it for you)--homeβ the directory to use as "grab home", where the URLs will be cloned into π. This one overrides theGRAB_HOMEenvironment variable if it's set, periodt.-p,--copy-pathβ copies the local destination path to the clipboard after cloning π. And heads up: if more than one URL is supplied, the path of the last one is the one that gets copied, iykyk.-n,--dry-runβ doesn't actually clone repositories, just prints what would be done π (perfect for a vibe check before committing)-h,--helpβ displays a help message and exits π§-V,--versionβ displays version information and exits β
π ENVIRONMENT π
GRAB_HOMEβ the base directory to clone into π. If the variableGRAB_HOMEis not set,~/srcis used. That's the default, bestie.GRAB_COPY_PATHβ if it's set, copies the local destination path to the clipboard after cloning π₯ (equivalent to[--copy-path])
π EXIT STATUS π
The git-grab utility exits 0 on success, and >0 if an error occurs π. So like, zero is the slay outcome.
π SEE ALSO π
git-clone(1) β go check it out, it's iconic β¨
π§ HISTORY π§
ok story time π: the git-grab utility is inspired by grab by Jeff Hodges. This implementation was written from scratch by Wesley Moore π. Obsessed, honestly.
ngl bestie, that's the whole page β every flag, every env var, every exit code, all of it π
mwah π stay cloned, stay organised, and remember: ~/src is home π‘
β brought to you by the Debian crew, dated Jan 5, 2026, from the GIT-GRAB(1) manual page πβ¨ see u in the group chat π«Ά
π¦ where this page comes from
- arch rolling: git-grab 4.0.1-3 Β· MIT OR Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms