<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>linux &amp;mdash; devops</title>
    <link>https://write.rpod.club/devops/tag:linux</link>
    <description></description>
    <pubDate>Tue, 20 Oct 2026 06:23:07 +0000</pubDate>
    <item>
      <title>Incus vs LXC</title>
      <link>https://write.rpod.club/devops/incus-vs-lxc</link>
      <description>&lt;![CDATA[#linux #incus #lxc&#xA;&#xA;Install&#xA;&#xA;Source code: https://github.com/zabbly/incus&#xA;&#xA;Add repo key&#xA;mkdir -p /etc/apt/keyrings/&#xA;curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc&#xA;&#xA;Add remote repo&#xA;sh -c &#39;cat &lt;EOF  /etc/apt/sources.list.d/zabbly-incus-stable.sources&#xA;Enabled: yes&#xA;Types: deb&#xA;URIs: https://pkgs.zabbly.com/incus/stable&#xA;Suites: $(. /etc/os-release &amp;&amp; echo ${VERSION_CODENAME})&#xA;Components: main&#xA;Architectures: $(dpkg --print-architecture)&#xA;Signed-By: /etc/apt/keyrings/zabbly.asc&#xA;&#xA;EOF&#39;&#xA;&#xA;Install&#xA;apt-get update &amp;&amp; apt-get install incus&#xA;&#xA;Add user to incus group&#xA; sudo usermod -a -G incus USERNAME&#xA; sudo usermod -a -G incus-admin USERNAME&#xA;And re-login&#xA;&#xA;---&#xA;&#xA;First time config]]&gt;</description>
      <content:encoded><![CDATA[<p><a href="/devops/tag:linux" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">linux</span></a> <a href="/devops/tag:incus" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">incus</span></a> <a href="/devops/tag:lxc" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">lxc</span></a></p>

<h2 id="install">Install</h2>

<p>Source code: <a href="https://github.com/zabbly/incus" rel="nofollow">https://github.com/zabbly/incus</a></p>

<p>Add repo key</p>

<pre><code>mkdir -p /etc/apt/keyrings/
curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc
</code></pre>

<p>Add remote repo</p>

<pre><code>sh -c &#39;cat &lt;&lt;EOF &gt; /etc/apt/sources.list.d/zabbly-incus-stable.sources
Enabled: yes
Types: deb
URIs: https://pkgs.zabbly.com/incus/stable
Suites: $(. /etc/os-release &amp;&amp; echo ${VERSION_CODENAME})
Components: main
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/zabbly.asc

EOF&#39;
</code></pre>

<p>Install</p>

<pre><code>apt-get update &amp;&amp; apt-get install incus
</code></pre>

<p>Add user to incus group</p>

<pre><code> sudo usermod -a -G incus &lt;USERNAME&gt;
 sudo usermod -a -G incus-admin &lt;USERNAME&gt;
</code></pre>

<p>And re-login</p>

<hr>

<h2 id="first-time-config">First time config</h2>
]]></content:encoded>
      <guid>https://write.rpod.club/devops/incus-vs-lxc</guid>
      <pubDate>Thu, 04 Jan 2024 10:33:06 +0000</pubDate>
    </item>
    <item>
      <title>Как копировать коммиты из одного Git repo to в другой?</title>
      <link>https://write.rpod.club/devops/how-to-copy-commits-from-one-git-repo-to-another</link>
      <description>&lt;![CDATA[Как копировать коммиты из одного Git repo to в другой?&#xA;&#xA;#git #linux&#xA;&#xA;Клонируем основное репо и заходим в него&#xA;git clone https://github.com/user1/project1&#xA;cd project1&#xA;Добавляем репо из которого нужно скопировать коммиты&#xA;git remote add oldrepo https://github.com/user1/project2&#xA;Обновляемся&#xA;git remote update&#xA;Тут можно посмотреть что и как получилось&#xA;git log --all --oneline --graph --decorate &#xA;Находим нужные коммиты и делаем cherry-pick из старого в новое репо&#xA;git cherry-pick sha-of-commit-one&#xA;git cherry-pick sha-of-commit-two&#xA;git cherry-pick sha-of-commit-three&#xA;Могут и будут возникать конфликты и их нужно будет разруливать&#xA;Проверяем что все ок&#xA;git log&#xA;И пушим в основное репо&#xA;git push origin master&#xA;Удаляем старое&#xA;git remote remove oldrepo&#xA;`]]&gt;</description>
      <content:encoded><![CDATA[<h2 id="как-копировать-коммиты-из-одного-git-repo-to-в-другой">Как копировать коммиты из одного Git repo to в другой?</h2>

<p><a href="/devops/tag:git" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">git</span></a> <a href="/devops/tag:linux" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">linux</span></a></p>

<p>Клонируем основное репо и заходим в него</p>

<pre><code>git clone https://github.com/user1/project1
cd project1
</code></pre>

<p>Добавляем репо из которого нужно скопировать коммиты</p>

<pre><code>git remote add oldrepo https://github.com/user1/project2
</code></pre>

<p>Обновляемся</p>

<pre><code>git remote update
</code></pre>

<p>Тут можно посмотреть что и как получилось</p>

<pre><code>git log --all --oneline --graph --decorate 
</code></pre>

<p>Находим нужные коммиты и делаем cherry-pick из старого в новое репо</p>

<pre><code>git cherry-pick sha-of-commit-one
git cherry-pick sha-of-commit-two
git cherry-pick sha-of-commit-three
</code></pre>

<p>Могут и будут возникать конфликты и их нужно будет разруливать
Проверяем что все ок</p>

<pre><code>git log
</code></pre>

<p>И пушим в основное репо</p>

<pre><code>git push origin master
</code></pre>

<p>Удаляем старое</p>

<pre><code>git remote remove oldrepo
</code></pre>
]]></content:encoded>
      <guid>https://write.rpod.club/devops/how-to-copy-commits-from-one-git-repo-to-another</guid>
      <pubDate>Mon, 05 Jun 2023 13:07:24 +0000</pubDate>
    </item>
  </channel>
</rss>