小编gr4*_*t3d的帖子

设置加密的 git-repository

情况

嗨,我想用 git 保存数据,加密(在某些平台上,如bitbucketgithub)。因此问题:

我正在寻找不同的轻松方式:
如何在 bitbucket (/github)设置加密存储库?现在,我是 git 的新手,因此非常感谢包含所有必要步骤或分步说明的说明!

“研究”

git-crypt
我找到了git-crypt,但在网站上提到它用于单个文件加密。如果有人想加密整个存储库,他们会将其转发到git-remote-gcrypt

git-remote-gcrypt
在他们的README.rst 中,他们把它写得很简单

快速开始

git remote add cryptremote gcrypt::rsync://example.com:repo
git push cryptremote master
> gcrypt: Setting up new repository
> gcrypt: Remote ID is :id:7VigUnLVYVtZx8oir34R
> [ more lines .. ]
> To gcrypt::[...]
> * [new branch]      master -> master
Run Code Online (Sandbox Code Playgroud)

或低于

例子

# notice that the …
Run Code Online (Sandbox Code Playgroud)

encryption version-control git

41
推荐指数
2
解决办法
2万
查看次数

标签 统计

encryption ×1

git ×1

version-control ×1