Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

git-ssb

Package Overview
Dependencies
Maintainers
6
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-ssb

git hosting on secure-scuttlebutt (ssb)

  • 2.3.6
  • latest
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

git-ssb

Git repos on secure-scuttlebutt (SSB).

This package includes:

  • A command line tool git-ssb for managing SSB git repos
  • A git remote helper git-remote-ssb for using ssb:// URLs with git
  • A web server git-ssb-web for browsing repos locally

Install

npm install -g git-ssb

Usage

You can use a ssb:// remote like any other git remote. A repo on SSB is identified by a message ID. To create a new git repo on SSB, use the command git ssb create.

Examples

Publish an existing repo to SSB:

cd repo
git ssb create ssb my-cool-repo
git push --tags ssb master

Clone a repo from SSB:

git clone ssb://<msgId> repo

Fork a git-ssb repo you have already cloned:

cd repo
git ssb fork mine
# edit and commit, then push changes:
git push mine

Run the web server for browsing repos:

git ssb web

Configuration

As with patchwork, git-ssb reads the ssb_appname environment variable when deciding what scuttlebot instance to connect to. git-ssb also uses git's config to get the appname if the environment variable is not set. To make it so a repo only gets used in your testing environment, you can configure the repo as follows:

git config ssb.app_name test

Articles

License

Copyright (c) 2016 Charles Lehner

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.

Keywords

FAQs

Package last updated on 28 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc