• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

git-secure: git-secure 主要的功能时在用户提交时将用户的代码或者文件使用 AES 加密 ...

原作者: [db:作者] 来自: Gitee 收藏 邀请

Git Secure

Git 安全存储库工具

Command

cmdinfo
addAdd file contents to the index
cloneClone a encrypted repository into a new directory
configconfig your secure repository
commitcreate a commit
diffshow commit changes between commit worktree,etc
initinitialize a secure repository
helpprint help information
keycreate a aes key
pullFetch from and integrate with another repository or a local branch
pushUpdate remote refs along with associated objects
remoteset remote for secure repositroy
statusShow the working tree status

系统依赖

此项目基于 PowerShell 编写,因此,你需要安装 PowerShell 6.0,PowerShell 目前支持 Windows,Linux 和 macOS

你可以去 Github PowerShell 项目的 Release 页面下载 PowerShell:PowerShell release

在 Windows 系统上,默认的 Powershell 需要 5.0,也就是说 Windows 7,8.1 需要升级 Powershell 5.0 (Windows 10 默认为 5.0) Windows Management Framework 5.0

使用

用户需要在码云上创建一个空仓库。

初始化一个空仓库

git-secure init repo

创建 AES 密钥:

git-secure key

添加文件到暂存区:

git-secure add

创建 commit:

git-secure commit -m "create a new commit"

推送代码:

git-secure push

拉取代码(暂时不支持 fetch):

git-secure pull

配置:

git-secure config aes.key xxxxx

功能

git-secure 使用 AES 256 对每一个常规文件加密,这里的常规文件是不包括 commit,及 .gitignore.gitattributes.gitmodules 这些文件。

贡献

我们欢迎用户提交 PR,请注意,我们要求代码使用 PowerShell 格式化工具格式化,建议使用 Visual Studio Code (PowerShell 扩展) 修改代码。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Giteer: Giteer For 码云,基于Taro + Taro UI + Dva的小程序。发布时间:2022-02-13
下一篇:
gitee-release-cli: 发行版生成工具发布时间:2022-02-13
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap