summary refs log tree commit diff
path: root/git.html
diff options
context:
space:
mode:
Diffstat (limited to 'git.html')
-rw-r--r--git.html17
1 files changed, 12 insertions, 5 deletions
diff --git a/git.html b/git.html index 85aa781..acf054a 100644 --- a/git.html +++ b/git.html
@@ -8,11 +8,11 @@
8</head> 8</head>
9<body> 9<body>
10 <h1>git.0druid.cc</h1> 10 <h1>git.0druid.cc</h1>
11 <p><a href="/">homepage</a>. <a href="/git.html">git</a>.</p> 11 <p><a href="/">homepage</a>. <a href="/git.html">git</a>. <a href="/irc.html">irc</a>.</p>
12 <p>this is my git forge. its invite only, accounts are made by me, and everything is public to clone but only people with accounts can push. if you want an account, <a href="mailto:r.ustydruid520@proton.me">email me</a> with your ssh pubkey.</p> 12 <p>this is my git forge. its invite only, accounts are made by me, and everything is public to clone but only people with accounts can push. if you want an account, <a href="mailto:r.ustydruid520@proton.me">email me</a> with your ssh pubkey.</p>
13 <p>browsing happens at <a href="https://git.0druid.cc/">git.0druid.cc</a>, with the usual stuff: commits, tree, refs, diffs n such.</p> 13 <p>browsing happens at <a href="https://git.0druid.cc/">git.0druid.cc</a>, with the usual stuff: commits, tree, refs, diffs n such.</p>
14 <p>clone over https (read only):</p> 14 <p>clone over git:// (anonymous, read only):</p>
15 <pre>git clone https://git.0druid.cc/druid520/site.git</pre> 15 <pre>git clone git://git.0druid.cc/druid520/site.git</pre>
16 <p>clone and push over ssh (accounts only):</p> 16 <p>clone and push over ssh (accounts only):</p>
17 <pre>git clone git:druid520/site.git</pre> 17 <pre>git clone git:druid520/site.git</pre>
18 <p>accounts get ssh commands too:</p> 18 <p>accounts get ssh commands too:</p>
@@ -21,11 +21,18 @@ ssh git desc &lt;repo&gt; "description"
21ssh git perms &lt;repo&gt; +WRITERS &lt;user&gt; 21ssh git perms &lt;repo&gt; +WRITERS &lt;user&gt;
22ssh git ls</pre> 22ssh git ls</pre>
23 <p>put this in ~/.ssh/config:</p> 23 <p>put this in ~/.ssh/config:</p>
24 <pre>Host git 24 <pre>Host serv
25 HostName 0druid.cc
26 User root
27 Port 3447
28 IdentityFile ~/.ssh/serv
29 ProxyCommand sh -c "nc -z -w 1 %h 47910; exec nc %h %p"
30
31Host git
25 HostName git.0druid.cc 32 HostName git.0druid.cc
26 User git 33 User git
27 Port 3447 34 Port 3447
28 IdentityFile ~/.ssh/id_ed25519 35 IdentityFile ~/.ssh/druid
29 ProxyCommand sh -c "nc -z -w 1 %h 47910; exec nc %h %p"</pre> 36 ProxyCommand sh -c "nc -z -w 1 %h 47910; exec nc %h %p"</pre>
30 <p>the serv host is the server itself, it knocks a secret port before ssh answers so scanners see nothing. the git host is the same machine, same deal.</p> 37 <p>the serv host is the server itself, it knocks a secret port before ssh answers so scanners see nothing. the git host is the same machine, same deal.</p>
31 <p>profiles: push a repo named the same as your username (like druid520/druid520) with a profile.png and a readme.djot in it, first line like this:</p> 38 <p>profiles: push a repo named the same as your username (like druid520/druid520) with a profile.png and a readme.djot in it, first line like this:</p>