<?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 Joseph Hale</title>
    <link>https://thehale.dev/topics/git/</link>
    <description>Recent content in Git on Joseph Hale</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    
    
    
    
      <lastBuildDate>Thu, 13 Mar 2025 12:00:00 -0700</lastBuildDate>
    
    <atom:link href="https://thehale.dev/topics/git/index.xml" rel="self" type="application/rss+xml" />
      <item>
        <title>Exploring Git’s built-in website</title>
        <link>https://thehale.dev/guides/gitweb-on-ubuntu-wsl/</link>
        <pubDate>Thu, 13 Mar 2025 00:00:00 +0000</pubDate>
        <guid>https://thehale.dev/guides/gitweb-on-ubuntu-wsl/</guid>
        <description>&lt;p&gt;Today I learned that Git ships with a built-in web interface for a code repository. Here&amp;rsquo;s how to set it up!&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open a terminal&lt;/li&gt;&#xA;&lt;li&gt;Navigate to a Git repository on your computer&lt;/li&gt;&#xA;&lt;li&gt;Start the instaweb server&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; with &lt;code&gt;git instaweb --local --httpd=webrick&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open a web browser to &lt;code&gt;localhost:1234&lt;/code&gt; to explore your git repository.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;And that&amp;rsquo;s it!&lt;/p&gt;&#xA;&lt;p&gt;I thought it was really neat to see how smooth the setup was. I&amp;rsquo;ve previously seen these types of Git repositories hosted online (e.g. the &lt;a href=&#34;https://git.tt-rss.org/fox/tt-rss.git/?utm_source=thehale.dev&amp;amp;utm_medium=newsletter&amp;amp;utm_campaign=gitweb-on-ubuntu-wsl&#34; rel=&#34;noopener&#34; target=&#34;_blank&#34;&gt;&lt;span&gt;RSS reader TTRSS&lt;/span&gt;&lt;span aria-hidden=&#34;true&#34;&gt;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; viewBox=&#34;0 0 512 512&#34;&gt;&lt;!--! Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc. --&gt;&lt;path d=&#34;M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z&#34;/&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/a&gt;), so it was fun to learn how those work behind the scenes.&lt;/p&gt;</description>
      </item>
  </channel>
</rss>
