CmdID

CmdID / Commands

git-remote

Manage set of tracked repositories ("remotes"). tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List existing remotes with their names and URLs

git remote --verboseIdentify

Show information about a remote

git remote show remote_nameIdentify

Add a remote

git remote add remote_name remote_urlIdentify

Change the URL of a remote (use --add to keep the existing URL)

git remote set-url remote_name new_urlIdentify

Set push remote to be different from fetch remote

git remote set-url remote_name new_url --pushIdentify

Show the URL of a remote

git remote get-url remote_nameIdentify

Remove a remote

git remote remove remote_nameIdentify

Rename a remote

git remote rename old_name new_nameIdentify