Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Latest commit

 

History

History
36 lines (24 loc) · 646 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 646 Bytes

git-matrix

Git remote helper that lets you push and clone from matrix rooms.

Usage

You'll need cargo to install git-matrix, rustup if you don't have it yet.

cargo install --path=git_matrix_cli
git clone matrix://matrix.org/git-matrix

Login

The remote helper acts as guest by default. To login execute

git matrix

which prompts for

Homeserver URL: https://example.org
User: @example:example.org
Password:

The resulting access token and device id are stored in the global git config.

Custom Remote

git clone matrix::<scheme>://<domain>[:port]/<room-alias>