/git-remote-ipld

Primary LanguageGoMIT LicenseMIT

Git IPLD remote helper

Push and fetch commits using IPFS!

This helper is experimental as of now

Usage

Clone an example repository:
$ git clone ipld://2347e110c29742a1783134ef45f5bff58b29e40e

Pull a commit:
$ git pull ipld://2347e110c29742a1783134ef45f5bff58b29e40e

Push:
$ git push --set-upstream ipld:// master

Note: Some features like remote tracking are still missing, though the plugin is quite usable. IPNS helper is WIP and doesn't yet do what it should

Installation

  1. go get github.com/ipfs-shipyard/git-remote-ipld
  2. make install
  3. Done
  4. Make sure you run go-ipfs 0.4.17 or newer as you need git support

Limitations / TODOs

  • ipns remote is not implemented fully yet

Troubleshooting

  • fetch: manifest has unsupported version: 2 (we support 3) on any command
    • This usually means that tracker data format has changed
    • Simply do rm -rf .git/ipld

License

MIT