Git Remote

The git remote command is for "stashing" your changes in order to work on something else, then you can come back to the stashed changes later.

Command Abbreviated Description
git remote same as git remote show
git remote show this will show the name of the remote server by its alias
git remote --verbose -v shows all the details of the remote, including url
git remote add origin https://example.com/project/repo.git this is useful after a git init
git remote set-url origin https://example.com/project/new-repo.git change the url for the origin alias

See also: