GIT-UBUNTU-CLONE(1)
β¨ GIT-UBUNTU-CLONE β¨
okay bestie, welcome to git-ubuntu-clone π it's part of the git-ubuntu manual, and it's literally the cutest little shortcut for grabbing a Ubuntu source package repo. let's get into it π«Ά
πΈ SYNOPSIS πΈ
git ubuntu clone [--lp-user <user>] <package> [<directory>]
π DESCRIPTION π
so the whole vibe here is: you give it just the source package name, and it clones the Ubuntu source package repository for you. that's it. that's the flex π
when it does that, it sets you up with a couple of remotes:
- a remote named
pkgβ this one tracks branches from the importer repository (peepgit-ubuntu-importfor the deets π) - a remote named after the derived Launchpad user β this one tracks their personal branches π
and the repository you end up with? it's just a regular git(1) repository, no cap. every normal git(1) command works exactly like you'd expect. if you wanna know what to do after cloning, go look at git-clone(1) for the common operations β¨
π OPTIONS π
--lp-user <user>β the Launchpad user to authenticate as, for push URLs and as the default personal remote to create. if you don't specify it, the value gets pulled fromgit config --global gitubuntu.lpuser. and if that config value isn't set either? it literally prompts you for it π<package>β the name of the source package you wanna clone. the main character of this whole operation π«<directory>β the name of the new directory to clone into. if you don't specify one, it just uses a directory with the same name as<package>. convenient, honestly π
π EXIT STATUS π
- if the clone finishes successfully,
git ubuntu cloneexits with status0π - on errors,
git ubuntu cloneexits with a nonzero exit status π
π REPORTING BUGS π
found a bug? not the vibe. report it at https://bugs.launchpad.net/git-ubuntu and we'll sort it π
π SEE ALSO π
π GIT-UBUNTU π
this page is part of the git-ubuntu(1) suite π¦
Git-Ubuntu 0.2 Β· 2017-07-19 β that's the version and the date this page was born, bestie. go clone something iconic π β¨
π¦ where this page comes from
- ubuntu questing: git-ubuntu 1.1-2
- ubuntu resolute: git-ubuntu 1.1-2build1 Β· GPL-3.0-only
- ubuntu stonking: git-ubuntu 1.2-3 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms