mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
535 B
Plaintext
30 lines
535 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|