14 ms·
> btw, Git also supports the HTTP protocol ... In fact, Git supports any protocol! If you add a git remote like git remote add my-remote my-super-duper-pr
by chriswarbo 4mo ago
> btw, Git also supports the HTTP protocol ...
In fact, Git supports any protocol! If you add a git remote like
git remote add my-remote my-super-duper-protocol::some-sort-of-address-thingy
Then pushing/pulling `my-remote` will try to invoke a command called `git-remote-my-super-duper-protocol`, with `some-sort-of-address-thingy` in its arguments. You can implement that however you like.
I use remotes like "pkipfs::y5a9inx61aski4miz4sgmg55qgbazxhfwab3i6ee1ypa6rnumi8o", which invokes a custom git-remote-pkipfs command that pushes/pulls object data to IPFS and resolves/updates refs as subdomains of a specified pkarr address.