From 67521de4adc646c5bfe8de505b499197c79bd4de Mon Sep 17 00:00:00 2001
From: DanConwayDev
- git remote nostr
+ git-remote-nostr
- ngit and gitworkshop.dev are tools to enable code collaboration over - nostr. ngit allows contributors to manage the flow to open a proposal, - maintainers to verify proposals and incorporate them into the project. - Gitworkshop.dev provides a visual interface to discuss proposals and open - issues. + Gitworkshop.dev, git-remote-nostr and ngit are tools to enable code + collaboration over nostr. Gitworkshop.dev provides a visual interface to + discuss proposals and open issues. git-remote-nostr enables proposal + creation, review and incorporation using standard git tooling. ngit + handles repository setup and advanced proposal submission. +
++ donwload binaries and add them to a directory from which they can be run + globally: +
++ Linux + Mac + Windows + v1.3.1
- learn more +
+ alternatively, if you have cargo installed runcargo install ngit
+
+ clone the nostr url and use normal git operations with tool you are + used it (eg. your IDE) +
+git clone nostr://npub123/repo-identifier
+ // use pr/ branch prefix to create a nostr proposal
+ git checkout -b pr/great-feature
+ git commit -am "improve the
+ world"
+ git push -u
+ // any branch with pr/ prefix is nostr proposal
+ git branch -r --list origin/pr/*
+ // create a git repo and push to a git server
+ git init
+ git commit -am "initial commit"
+ git remote add origin https://dm.co/usr/my-repo
+ git push -u origin master
+ // announce on nostr
+ ngit init --identifier
+ my-repo
+ git remote set-url
+ origin nostr://npub123/my-repo
+ // pushing merged commits updates proposal status
+ git merge origin/pr/great-feature(e8246b2)
+ git push
+ These repositories have plenty of issues and proposals to explore
- gitworkshop.dev and ngit are tools to enable code
- collaboration over nostr created and maintained by
+ gitworkshop.dev, ngit and git-remote-nostr are tools
+ to enable code collaboration over nostr created and maintained by
- ngit and gitworkshop.dev implements optional features of nip34, which
- enable:
+ git-remote-nostr, ngit and gitworkshop.dev implements optional features of
+ nip34, which enable:
- alternatively, if you have cargo installed runcargo install ngit
-
alternatively, if you have cargo installed runcargo install ngit
+ import Container from '$lib/components/Container.svelte'
+
+
+Quick Start
+
git clone nostr://npub123/repo-identifier
+ git checkout -b pr/great-feature
+ git commit -am "improve
+ the world"
+ git push -u
+ ngit send
+ git branch -r --list
+ origin/pr/*
+ ngit list
+ git commit -am "extra
+ thing"
+ git push
+ git commit -a -amend
+ git push --force
+ git init
+ git commit -am "initial
+ commit"
+ // create repository on git server and the:
+
+ git remote add origin
+ https://codeberg.org/johnedoe/my-repo.git
+ git push -u origin
+ master
+ ngit init
+
+ git remote
+ set-url origin nostr://npub123/my-repo
+ git branch -r --list
+ origin/pr/*
+ ngit list
+ git checkout master
+ git merge pr/great-feature(e8246b2)
+ git push
+ ngit list
+