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 (peep git-ubuntu-import for 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 from git 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 clone exits with status 0 πŸŽ‰
  • on errors, git ubuntu clone exits 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