sgr upstream [OPTIONS] REPOSITORY
Get or set the upstream for a repository.
This shows the default repository used for pushes and pulls as well as allows to change it to a different remote engine and repository.
The remote engine alias must exist in the config file.
sgr upstream my/repo --set splitgraph.com username/repo
Sets the upstream for
username/repo existing on the
sgr upstream my/repo --reset
Removes the upstream for
sgr upstream my/repo
Shows the current upstream for
-s, --set <TEXT REPOSITORY>...: Set the upstream to a engine alias + repository
-r, --reset: Delete the upstream