Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For an end to end encrypted git repo;

git remote add origin ssh://user@host/srv/git/example

Where the host is simply an ssh server you have access to. Encrypt the servers drive itself however you see fit. This is how git is traditionally used btw. GitHub is a third party to the git ecosystem and really there’s little reason to use it for private repos. Just use ssh for the remote connection.



Generally people mean "E2E Encrypted" as "the hosting service cannot see it". Git-over-SSH does not achieve this, it just encrypts in transit.


> really there’s little reason to use it for private repos

Admin costs? I paid $7/month to github for years for private repos (atm private repos are free so i switched to not paying when the card i was using acted up and i couldn't be bothered to fix it). I'm sure the time I would have spent admining a ssh based server would have cost more, even at 1 hour/month.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: