isacikgoz / gitbatch

manage your git repositories in one place
MIT License
1.54k stars 53 forks source link

Backup/Restore remotes #70

Closed Vafa-Andalibi closed 5 years ago

Vafa-Andalibi commented 5 years ago

I personally have several different remotes for each repository which is quite time-consuming if I want to set them up in another machine. Do you think adding a backup/restore feature is useful for addressing such issues?

isacikgoz commented 5 years ago

hey @Vafa-Andalibi, gitbatch does not store any information of repositories in any sense. And I don't have any plan to do so.

But you can keep the config file separately which holds the remote configuration.

The configuration can be found at the file: /path/to/your/repo/.git/config You can move that file to another machine and you won't need to re-configure remotes.

Vafa-Andalibi commented 5 years ago

Thanks for the reply, so I think I should write a backup/restore script for that.