3 ms·
> if it's for personal use and no access right are needed, just use ssh. This! I think many people don't realize how easy it is to host git repositories over
by capableweb 4y ago
> if it's for personal use and no access right are needed, just use ssh.
This! I think many people don't realize how easy it is to host git repositories over just pure ssh. I backup all my git repositories this way, and also have a usb disk drive with backups (which is super easy to setup, just add a git remote with a unix path to where you wanna send it). Each repository I have have three remotes (`origin` which is usually GitHub/Codeberg, `ssh` which is my remote backup and `usb` which is my disk drive). My alias `gp` pushes the current branch to all three simultaneously.