<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Git on Niall Donaghy</title>
    <link>https://ndonaghy.com/tags/git/</link>
    <description>Recent content in Git on Niall Donaghy</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <lastBuildDate>Sat, 04 Apr 2026 22:00:38 +0100</lastBuildDate>
    <atom:link href="https://ndonaghy.com/tags/git/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Forgejo Basic Setup</title>
      <link>https://ndonaghy.com/posts/forgejo-basic-setup/</link>
      <pubDate>Sat, 04 Apr 2026 22:00:38 +0100</pubDate>
      <guid>https://ndonaghy.com/posts/forgejo-basic-setup/</guid>
      <description>&lt;h1 id=&#34;setting-up-local-git-server-and-forgejo-front-end&#34;&gt;Setting up local Git server and Forgejo front-end&lt;/h1&gt;&#xA;&lt;p&gt;Guide should be transferable to many systems, but here using Ubuntu 24.04 on both hosts.&lt;/p&gt;&#xA;&lt;h2 id=&#34;create-system-account-git&#34;&gt;Create system account &amp;ldquo;git&amp;rdquo;&lt;/h2&gt;&#xA;&lt;p&gt;This will also implicitly create the group &amp;ldquo;git&amp;rdquo;:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo useradd &lt;span style=&#34;color:#ae81ff&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --system &lt;span style=&#34;color:#ae81ff&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --shell /bin/bash &lt;span style=&#34;color:#ae81ff&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --home /srv/forgejo &lt;span style=&#34;color:#ae81ff&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --comment &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;Forgejo Git Service&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  git&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;create-zfs-datasets-tune-them-set-mountpoints&#34;&gt;Create ZFS datasets, tune them, set mountpoints&lt;/h2&gt;&#xA;&lt;p&gt;Arguably overkill but I will create separate datasets for repos, data, log.&#xA;Operationally this is useful to rollback forgejo via ZFS snapshot, but leave repos untouched.&#xA;For light personal use a single dataset is also fine and perhaps preferable - make your call.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
