app-gitgot icon indicating copy to clipboard operation
app-gitgot copied to clipboard

feature request: backup to multiple repos

Open adam-stokes opened this issue 11 years ago • 2 comments

First off this is an awesome application and I use it extensively everyday, so thanks for that!

One thing that I think would be cool is to have the option to backup repos to other services like bitbucket or gitorious in the off chance github.com is unavailable. And maybe keep them all in sync when doing a got push or something.

what do you think?

Thanks Adam

adam-stokes avatar Jan 27 '14 18:01 adam-stokes

Sorry to just be responding Adam, I guess I missed the email notification for this.

I guess having backups like this would be done on the individual repo level by having multiple remotes configured?

In that case, maybe the easiest way to get what you want is to have the 'got push' command take an optional repo name, that, if given, will push to that named remote instead of the default (and would skip the push if the named remote didn't exist).

What do you think?

genehack avatar Jul 20 '14 16:07 genehack

I think that would be awesome, it could then be easily scriptable for other tasks that people may want to use it for

adam-stokes avatar Jul 20 '14 16:07 adam-stokes