HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

jj git remote — Manage Git remotes. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-remote>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandjj git remotemanagecliremotesinformationmoregit

Problem

How to use the jj git remote command: Manage Git remotes. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-remote>.

Solution

jj git remote — Manage Git remotes. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-remote>.

List all Git remotes:
jj git remote list


Add a Git remote:
jj git remote add {{remote}} {{url}}


Change the URL of a Git remote:
jj git remote set-url {{remote}} {{url}}


Remove a Git remote:
jj git remote remove {{remote}}


Rename a Git remote:
jj git remote rename {{old_name}} {{new_name}}

Code Snippets

List all Git remotes

jj git remote list

Add a Git remote

jj git remote add {{remote}} {{url}}

Change the URL of a Git remote

jj git remote set-url {{remote}} {{url}}

Remove a Git remote

jj git remote remove {{remote}}

Rename a Git remote

jj git remote rename {{old_name}} {{new_name}}

Context

tldr-pages: common/jj git remote

Revisions (0)

No revisions yet.