<?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>Learn on Blog of a Pragmatech Dad</title>
    <link>https://pragmatechdad.blog/categories/learn/</link>
    <description>Recent content in Learn on Blog of a Pragmatech Dad</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 04 Jul 2026 14:01:24 +0800</lastBuildDate>
    <atom:link href="https://pragmatechdad.blog/categories/learn/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Learning Git</title>
      <link>https://pragmatechdad.blog/posts/learning-git/</link>
      <pubDate>Sat, 04 Jul 2026 14:01:24 +0800</pubDate>
      <guid>https://pragmatechdad.blog/posts/learning-git/</guid>
      <description>&lt;p&gt;These are my collection of learning using Git and Github.&lt;/p&gt;
&lt;h1 id=&#34;how-to-update-submodule&#34;&gt;How to update submodule&lt;/h1&gt;
&lt;p&gt;To update a Git submodule, navigate into the submodule directory and check out the desired commit or branch.
Then, go back to the main repository and commit this change using the command &lt;strong&gt;&lt;code&gt;git submodule update --init --recursive&lt;/code&gt;&lt;/strong&gt; to ensure all submodules are updated properly.&lt;/p&gt;
&lt;h1 id=&#34;how-to-install-subtree-in-fedora-44&#34;&gt;How to install subtree in Fedora 44&lt;/h1&gt;
&lt;p&gt;sudo dnf install git-subtree&lt;/p&gt;
&lt;h1 id=&#34;how-to-switch-branch&#34;&gt;How to switch branch&lt;/h1&gt;
&lt;p&gt;Command	Description
git switch &lt;!-- raw HTML omitted --&gt;	Switch to an existing branch.
git switch -c &lt;!-- raw HTML omitted --&gt;	Create a new branch and switch to it.
git switch &amp;ndash;detach &lt;!-- raw HTML omitted --&gt;	Switch to a specific commit in a detached state.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
