G-Node / gin-cli

Command line client for GIN
https://gin.g-node.org
Other
12 stars 6 forks source link

New command: add-remote #205

Closed achilleas-k closed 6 years ago

achilleas-k commented 6 years ago

This PR introduces the ability to add new remotes to a repository. To accompany the add-remote command, a number of other commands for remote management are added. Here's a rundown of everything:

Notes

The gin client tracks the default remote separately from git. It stores a config key in the local git configuration called gin.remote. This is used to upload the annexed content when performing a gin upload with no --to argument. The --to argument can be used to override the default. The special keyword all can be used to upload annexed content to all configured remotes.