<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Github on Jake Worth</title><link>https://jakeworth.com/tags/github/</link><description>Recent content in Github on Jake Worth</description><image><title>Jake Worth</title><url>https://jakeworth.com/twittercard.png</url><link>https://jakeworth.com/twittercard.png</link></image><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 22 Feb 2024 08:30:00 -0500</lastBuildDate><atom:link href="https://jakeworth.com/tags/github/index.xml" rel="self" type="application/rss+xml"/><item><title>Ignore Whitespace in a GitHub Pull Request</title><link>https://jakeworth.com/tils/ignore-whitespace-in-a-github-pull-request/</link><pubDate>Thu, 22 Feb 2024 08:30:00 -0500</pubDate><guid>https://jakeworth.com/tils/ignore-whitespace-in-a-github-pull-request/</guid><description>&lt;p&gt;Reviewing a GitHub PR on that contains a lot of whitespace changes? Extra
whitespace can make it challenging to evaluate the substance of a PR. It&amp;rsquo;s
high on my list of things that should generally &lt;a href="https://jakeworth.com/when-should-i-not-refactor/"&gt;not be refactored&lt;/a&gt;.
Ignore whitespace by adding the query parameter &lt;code&gt;?w=1&lt;/code&gt; to your diff URL.&lt;/p&gt;</description></item><item><title>Link to Headers in GitHub READMEs</title><link>https://jakeworth.com/tils/link-to-headers-in-github-readmes/</link><pubDate>Thu, 22 Feb 2024 08:30:00 -0500</pubDate><guid>https://jakeworth.com/tils/link-to-headers-in-github-readmes/</guid><description>&lt;p&gt;Anytime you add a header to a markdown file, GitHub attaches an &lt;code&gt;href&lt;/code&gt; with its
downcased name. &amp;lsquo;JavaScript&amp;rsquo; receives a link to &lt;code&gt;#javascript&lt;/code&gt;, for instance.&lt;/p&gt;
&lt;p&gt;Leverage this by adding a table of contents to your README with links to the
headers further down the document:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;### Table of Contents
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;-&lt;/span&gt; [&lt;span style="color:#f92672"&gt;Cucumber&lt;/span&gt;](&lt;span style="color:#a6e22e"&gt;#cucumber&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will link to a header containing &amp;lsquo;Cucumber&amp;rsquo;.&lt;/p&gt;
&lt;p&gt;h/t Josh Branchaud&lt;/p&gt;</description></item></channel></rss>