GIT-BUG(1)
hey bestie!! welcome to the GIT-BUG(1) manual page β this one is all about git-bug-bridge-new, and it's literally the "configure a new bridge" page. no cap. π
π NAME π
git-bug-bridge-new β configure a new bridge. that's the name section, and honestly it's giving main character setup energy. β¨
β¨ SYNOPSIS β¨
the vibe check, command edition:
git-bug bridge new [flags]
π DESCRIPTION π
okay so here's the deal: you configure a new bridge by passing flags or/and using interactive terminal prompts. and if you pass all the necessary flags to configure your bridge, you can avoid all the terminal prompts β like, fully skip them. periodt. π
π OPTIONS π
here is every single flag, bestie β no skips, no cap:
-n,--name=""β a distinctive name to identify the bridge. π-t,--target=""β the target of the bridge. valid values are[github,gitlab,jira,launchpad-preview].-u,--url=""β the URL of the remote repository.-b,--base-url=""β the base URL of your remote issue tracker.-l,--login=""β the login on your remote issue tracker.-c,--credential=""β the identifier or prefix of an already known credential for your remote issue tracker (see"git-bug bridge auth").--token=""β a raw authentication token for the remote issue tracker.--token-stdin[=false]β will read the token from stdin and ignore--token.-o,--owner=""β the owner of the remote repository.-p,--project=""β the name of the remote repository.--non-interactive[=false]β do not ask for user input.-h,--help[=false]β help fornew.
π EXAMPLE π
okay this next part is the full example block, copied exactly, bestie β interactive first, then GitHub, Launchpad, and Gitlab. iykyk. π¦
# Interactive example
[1]: github
[2]: gitlab
[3]: jira
[4]: launchpad-preview
target: 1
name [default]: default
Detected projects:
[1]: github.com/git-bug/git-bug
[0]: Another project
Select option: 1
[1]: user provided token
[2]: interactive token creation
Select option: 1
You can generate a new token by visiting https://github.com/settings/tokens.
Choose 'Generate new token' and set the necessary access scope for your repository.
The access scope depend on the type of repository.
Public:
- 'public_repo': to be able to read public repositories
Private:
- 'repo' : to be able to read private repositories
Enter token: 87cf5c03b64029f18ea5f9ca5679daa08ccbd700
Successfully configured bridge: default
# For GitHub
git bug bridge new \
--name=default \
--target=github \
--owner=example-owner
--project=example-repo \
--token=$TOKEN
# For Launchpad
git bug bridge new \
--name=default \
--target=launchpad-preview \
--url=https://bugs.launchpad.net/ubuntu/
# For Gitlab
git bug bridge new \
--name=default \
--target=gitlab \
--url=https://github.com/example-org/example-repo \
--token=$TOKEN
π¦ SEE ALSO π¦
git-bug-bridge(1)β go peek at the bridge manual too, bestie. π«Ά
okay that's the whole page! this manual came from git-bug's source, and the footer has Apr 2019 plus the GIT-BUG(1) name β mwah, bye bestie! πβ¨
π¦ where this page comes from
- arch rolling: git-bug 0.11.0-2 Β· GPL-3.0-only
- nixos 26.05: git-bug 0.10.1
- nixpkgs unstable: git-bug 0.11.0
- opensuse-leap 16.0: git-bug 0.10.1-bp160.2.1 Β· MIT
- opensuse-leap 16.0: git-bug 0.10.1-bp160.2.1 Β· MIT
- opensuse-leap 16.0: git-bug 0.10.1-bp160.2.1 Β· MIT
- opensuse-leap 16.0: git-bug 0.10.1-bp160.2.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms