Git Product home page Git Product logo

proland's Introduction

Git Remote Proland

A basic git-remote-helper for Protocol Land remotes

Requirements

  • git
  • node
  • npm, yarn or pnpm

This is a tool to allow git to communicate and sync Protocol Land repos.

You need node installed in your system. We recommend using nvm, a powerful node version manager.

Once you have node running in your system, please install a node package manager such as npm, yarn or pnpm.

Installation

Using npm

npm install --global @7i7o/git-remote-proland

Using yarn

yarn global add @7i7o/git-remote-proland

Using pnpm

pnpm add --global @7i7o/git-remote-proland

Setup Arweave Wallet keyfile

For git push or write access to repos, you need an Arweave wallet keyfile.

Asumming you have your Arweave wallet keyfile stored in ~/private_folder/jwk_keyfile.json, you can set up your keyfile path using git config:

git config --global --add protocol.land.keyfile ~/private_folder/jwk_keyfile.json

NOTE: This adds the keyfile path globally for all repos. If you want to use them discretionally per repo, you can remove the --global modifier in the git config command.

Usage

Once the package is installed you'll have a command git-remote-proland available in your PATH to be run from any folder you are working on.

This allows git to sync to Protocol Land repos.

Clone repos

git clone proland://YOUR_PROTOCOL_LAND_REPO_ID repo-name

For example, if you want to clone an example repo from protocol land, you can run:

git clone proland://ca6a9b1a-3e77-4158-9707-e079cbf1fdeb playground

proland's People

Contributors

7i7o avatar crookse-cl avatar pawanpaudel93 avatar github-actions[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.