<?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 nobe4</title><link>https://nobe4.fr/tags/git/</link><description>Recent content in Git on nobe4</description><generator>Hugo</generator><language>en-us</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;CC BY-SA&lt;/a&gt;</copyright><lastBuildDate>Sat, 27 Jun 2026 12:13:35 +0200</lastBuildDate><atom:link href="https://nobe4.fr/tags/git/index.xml" rel="self" type="application/rss+xml"/><item><title>Slow git push from a worktree</title><link>https://nobe4.fr/posts/slow-git-push-from-a-worktree/</link><pubDate>Thu, 25 Jun 2026 00:00:00 +0000</pubDate><guid>https://nobe4.fr/posts/slow-git-push-from-a-worktree/</guid><description>&lt;p&gt;I started using worktrees as part of &lt;a href="https://github.com/nobe4/dotfiles/commit/b06d149ab17a21e972dc2a5bf55b4859842a7254"&gt;my setup&lt;/a&gt;, and have been enjoying what it
has to offer.&lt;/p&gt;
&lt;p&gt;However, a &lt;code&gt;git push&lt;/code&gt; from a worktree burned ~30 seconds of local CPU before
sending a single byte. Which was not expected.&lt;/p&gt;
&lt;p&gt;As per usual, the following debug led up to a bunch of fun learnings.&lt;/p&gt;
&lt;h2 id="symptom"&gt;Symptom&lt;/h2&gt;
&lt;p&gt;I immediately started running my command with some extra debug setup:&lt;/p&gt;




	&lt;div class=" highlight-wrapper" data-lang="bash"&gt;
		&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;GIT_TRACE_PACKET&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt; &lt;span class="nv"&gt;GIT_TRACE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="m"&gt;2&lt;/span&gt; &lt;span class="nv"&gt;GIT_SSH_COMMAND&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;ssh -v&amp;#34;&lt;/span&gt; git push&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
	&lt;/div&gt;

&lt;p&gt;Appeared to hang ~30s right after:&lt;/p&gt;</description></item></channel></rss>