git remote

Manage remotes

medium risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

Lists and edits remote repositories. See the flags and examples below, and run `man git` for the full reference.

Common flags
FlagMeaning
-vShow URLs
addAdd
set-urlChange URL
removeRemove
Examples
git remote -vShow remotes · explain & risk-check →
Related
git push
Open the full explainer →More in Git

Reference text is hand-written and may be incomplete — check man git for your version. Test destructive commands on a non-production system first.