blob: 616892c706dd66ceda56b7d1372663ac6ee3edc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width-device-width, inital-scale=1.0">
<title>0druid.cc - git</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>git.0druid.cc</h1>
<p><a href="/">homepage</a>. <a href="/git.html">git</a>. <a href="/irc.html">irc</a>.</p>
<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>
<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>
<p>clone over git:// (anonymous, read only):</p>
<pre>git clone git://git.0druid.cc/druid520/site.git</pre>
<p>clone and push over ssh (accounts only):</p>
<pre>git clone git:druid520/site.git</pre>
<p>accounts get ssh commands too:</p>
<pre>ssh git mk repo
ssh git rm repo
ssh git mv repo newname
ssh git cp user/repo newname
ssh git desc repo "description"
ssh git perms repo +WRITERS user
ssh git ls</pre>
<p>put this in ~/.ssh/config:</p>
<pre>Host git
HostName git.0druid.cc
User git
Port 3447
IdentityFile ~/.ssh/key
ProxyCommand sh -c "nc -z -w 1 %h 47910; exec nc %h %p"</pre>
<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>
<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>
<pre>{desc="hi" location="somewhere" work="stuff"}</pre>
<p>and the rest of the file is your page.</p>
</body>
</html>
|