<?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 Raven's Blog | Linux and IT</title><link>https://r4ven.me/en/tags/git/</link><description>Recent content in Git on Raven's Blog | Linux and IT</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 27 Oct 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://r4ven.me/en/tags/git/index.xml" rel="self" type="application/rss+xml"/><item><title>Git console commands cheat sheet</title><link>https://r4ven.me/en/clippings/shpargalka-po-konsolnym-komandam-git/</link><pubDate>Mon, 27 Oct 2025 00:00:00 +0000</pubDate><guid>https://r4ven.me/en/clippings/shpargalka-po-konsolnym-komandam-git/</guid><description>&lt;div
 class="alert alert-important my-6 overflow-hidden rounded-lg transition-all duration-200 ease-out hover:-translate-y-0.5 hover:shadow-md"
 style="background-color: color-mix(in srgb, var(--color-important) 10%, transparent);
 border-left-color: var(--color-important);
 --hover-bg: color-mix(in srgb, var(--color-important) 15%, transparent);"
 onmouseover="this.style.backgroundColor = this.style.getPropertyValue('--hover-bg')"
 onmouseout="this.style.backgroundColor = 'color-mix(in srgb, var(--color-important) 10%, transparent)'"
 role="alert"
 aria-labelledby="alert-important-1-title"&gt;

 
 
 &lt;div
 class=" flex items-center justify-between px-6 py-4"
 &gt;
 &lt;div class="flex items-center gap-3"&gt;
 
 &lt;h5
 id="alert-important-1-title"
 class="m-0 font-semibold text-foreground/90"&gt;
 ☝️ Important
 &lt;/h5&gt;
 &lt;/div&gt;

 
 
 &lt;/div&gt;
 

 
 &lt;div
 id="alert-important-1-content"
 class="alert-content
 
 px-6 pb-6
 "&gt;
 &lt;div class="prose prose-sm text-foreground/90 max-w-none"&gt;
 &lt;p&gt;This material was borrowed from a third-party source.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/cyberspacedk/Git-commands"&gt;Link to the original&lt;/a&gt;.&lt;/p&gt;
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;/div&gt;

&lt;script&gt;
function toggleAlert(alertId) {
 const content = document.getElementById(alertId + '-content');
 const chevron = document.getElementById(alertId + '-chevron');
 const header = document.querySelector(`[aria-controls="${alertId}-content"]`);
 
 if (!content) return;
 
 if (content.classList.contains('hidden')) {
 content.classList.remove('hidden');
 if (chevron) chevron.style.transform = 'rotate(0deg)';
 if (header) header.setAttribute('aria-expanded', 'true');
 } else {
 content.classList.add('hidden');
 if (chevron) chevron.style.transform = 'rotate(-90deg)';
 if (header) header.setAttribute('aria-expanded', 'false');
 }
}


if (document.readyState === 'loading') {
 document.addEventListener('DOMContentLoaded', function() {
 
 console.log('Alerts initialized');
 });
} else {
 
 console.log('Alerts ready');
}
&lt;/script&gt;

&lt;h1 id="git-console-commands-cheat-sheet"&gt;Git console commands cheat sheet&lt;/h1&gt;
&lt;h2 id="general"&gt;General&lt;/h2&gt;
&lt;p&gt;Git is a version control system (for files). Something like the ability to save your progress in computer games (in Git, the equivalent of a game save is a commit). &lt;strong&gt;Important&lt;/strong&gt;: adding files to a &amp;ldquo;save&amp;rdquo; is a two-step process: first we add the file to the index (&lt;code&gt;git add&lt;/code&gt;), then we &amp;ldquo;save&amp;rdquo; it (&lt;code&gt;git commit&lt;/code&gt;).&lt;/p&gt;</description></item><item><title>Software Repository</title><link>https://r4ven.me/en/it-theory/repozitorij-programmnogo-obespecheniya/</link><pubDate>Sat, 22 Jan 2022 00:00:00 +0000</pubDate><guid>https://r4ven.me/en/it-theory/repozitorij-programmnogo-obespecheniya/</guid><description>&lt;strong&gt;Greetings! &lt;i class="fa-solid fa-crow"&gt;&lt;/i&gt;
&lt;/strong&gt;

&lt;p&gt;There are various types of repositories. For example, repositories of programs written in a single programming language, or intended for a specific platform. The latter includes repositories of Linux and other *nix systems. Repositories are also actively used in version control systems, for example in git systems.&lt;/p&gt;
&lt;p&gt;In the Linux world, repositories are usually divided into two types: officially maintained by the developers of a specific system (&lt;a href="https://r4ven.me/en/it-razdel/slovarik/distributiv-linux/"&gt;distribution&lt;/a&gt;), and user (third-party) repositories, connected manually.&lt;/p&gt;</description></item></channel></rss>