mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 23:01:20 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/jj-git-remote
Normal file
29
tldr/jj-git-remote
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# jj git remote
|
||||
|
||||
> Manage Git remotes.
|
||||
> More information: <https://jj-vcs.github.io/jj/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}}`
|
||||
Reference in New Issue
Block a user