Dgit is Git with decentralized ownership (without changing your GitHub workflow)

栏目: IT技术 · 发布时间: 4年前

内容简介:git, the

Dgit is Git with decentralized ownership (without changing your GitHub workflow)

dgit

dgit is an open-source project built by Quorum Control which combines the power of

git, the Tupelo DLT and Skynet from Sia.

dgit uses decentralized ownership and storage to make it trivial to create a decentralized, shareable git remote of your project.

dgit accomplishes this without changing your GitHub workflow except that you can keep collaborating when it goes down.

Built With

Table of Contents

Getting Started

With three simple steps you can create a decentralized mirror of your existing github project. All changes will be automatically propogated to the mirror version and the git services you depend on will be there when you need them.

Installation

A quick install using brew gets us started: brew tap quorumcontrol/dgit && brew install dgit

Or skip the tap and directly install with: brew install quorumcontrol/dgit/dgit

Usage

Next you are going to run the init command in each repo you want to make decentralized: dgit init

This command does three things.

  1. dgit sets the appropriate remote urls in your repo's .git/config file.
  2. dgit creates a ChainTree which gets signed by the Tupelo DLT to specify ownership of the decentralized repo.
  3. dgit stores that repo on Skynet, the decentralized storage solution from Sia.

From there you can proceed with normal git commands.

If you ever want to pull from the mirror you can specify the mirror with a "dgit:".

As an example: git clone dgit://your_username/repo_name

If you want to keep your decentralized, shareable git remote in sync with your GitHub repo adding a simple github rule as illustrated in dgit-github-action is all it takes. Once completed your dgit decentralized shareable remote will always be up to date and ready when you need it.

Building

  • Clone this repo.
  • Run make . Generates ./dgit in top level dir.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated .

git checkout -b feature/AmazingFeature
git commit -m 'Add some AmazingFeature'
git push origin feature/AmazingFeature

License

Distributed under the MIT License. See LICENSE for more information.

Contact

If you have any questions or concerns please hop into our developer chat on gitter and we will be glad to help.

Project Link: https://github.com/quorumcontrol/dgit


以上所述就是小编给大家介绍的《Dgit is Git with decentralized ownership (without changing your GitHub workflow)》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

从需求到产品:0岁产品经理进阶之道

从需求到产品:0岁产品经理进阶之道

权莉 / 人民邮电出版社 / 2018-7 / 49.80元

本书主要针对刚入职的初级产品经理,从贴近工作状态的场景切入,对各阶段的知识点进行分类总结,旨在提供一套经过实践检验的产品方法论,为读者从初级产品经理成长为产品经理奠定坚实的基础。 书中提炼的方法和案例涵盖初级产品经理工作的方方面面,从基本技能到思维方式,从需求管理到产品规划定义,从框架选型到流程梳理,从工作模块拆解到案例剖析,用具体且贴合实际工作场景的内容,还原真实的产品工作方法及实践案例,既有方......一起来看看 《从需求到产品:0岁产品经理进阶之道》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具