<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Part 4 — Beyond the basics on Git Getting Started!</title><link>https://oripekelman.github.io/git-training/docs/4-beyond-the-basics/</link><description>Recent content in Part 4 — Beyond the basics on Git Getting Started!</description><generator>Hugo</generator><language>en</language><atom:link href="https://oripekelman.github.io/git-training/docs/4-beyond-the-basics/index.xml" rel="self" type="application/rss+xml"/><item><title>One repository, many working trees</title><link>https://oripekelman.github.io/git-training/docs/git-worktree/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://oripekelman.github.io/git-training/docs/git-worktree/</guid><description>&lt;h1 id="one-repository-many-working-trees"&gt;
 One repository, many working trees
 &lt;a class="anchor" href="#one-repository-many-working-trees"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;Here is a situation you have already lived through.&lt;/p&gt;
&lt;p&gt;You are three hours into a feature branch. Half the files are edited, some of them are staged and some are not, there is a &lt;code&gt;TODO half done&lt;/code&gt; in a file you have not even named properly yet. Nothing compiles. And then production catches fire, and you need to look at &lt;code&gt;main&lt;/code&gt; &lt;strong&gt;right now&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Worktrees and agents, parallel work at machine speed</title><link>https://oripekelman.github.io/git-training/docs/git-worktree-agents/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://oripekelman.github.io/git-training/docs/git-worktree-agents/</guid><description>&lt;h1 id="worktrees-and-agents-parallel-work-at-machine-speed"&gt;
 Worktrees and agents, parallel work at machine speed
 &lt;a class="anchor" href="#worktrees-and-agents-parallel-work-at-machine-speed"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;The previous chapter taught a 2015 feature. This chapter is about why, ten years later, a lot of people suddenly discovered they needed it.&lt;/p&gt;
&lt;h2 id="what-changed"&gt;
 What changed
 &lt;a class="anchor" href="#what-changed"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;For as long as there has been version control, the rate at which a repository changed was bounded by how fast humans could type. One person, one editor, one working directory: the tooling matched the biology.&lt;/p&gt;</description></item><item><title>Abusing git notes for fun and profit</title><link>https://oripekelman.github.io/git-training/docs/git-notes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://oripekelman.github.io/git-training/docs/git-notes/</guid><description>&lt;h1 id="abusing-git-notes-for-fun-and-profit"&gt;
 Abusing git notes for fun and profit
 &lt;a class="anchor" href="#abusing-git-notes-for-fun-and-profit"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;A &lt;strong&gt;commit&lt;/strong&gt; is immutable. Part 1 hammered that in: change one byte of the message, one character of the author name, and you get a different &lt;strong&gt;SHA&lt;/strong&gt;, a different object, a different commit. That is not a bug, it is the whole point. The identity &lt;em&gt;is&lt;/em&gt; the content.&lt;/p&gt;
&lt;p&gt;But information about a commit keeps arriving after the commit exists. This one was reviewed by Sophie. This one passed CI in 4m12s and produced an artifact with digest &lt;code&gt;sha256:9f2a1c&lt;/code&gt;. This one went to production on Tuesday at 18:22. This one, three weeks later, turned out to be the cause of incident INC-482. This one was written by an agent, from a prompt we would quite like to keep.&lt;/p&gt;</description></item><item><title>Big files, or how Git meets its limits</title><link>https://oripekelman.github.io/git-training/docs/git-lfs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://oripekelman.github.io/git-training/docs/git-lfs/</guid><description>&lt;h1 id="big-files-or-how-git-meets-its-limits"&gt;
 Big files, or how Git meets its limits
 &lt;a class="anchor" href="#big-files-or-how-git-meets-its-limits"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;Sooner or later somebody hands you a repository with a 400 MB video in it, or a designer asks where to put the &lt;code&gt;.psd&lt;/code&gt; files, or you join a machine-learning team and discover that their &amp;ldquo;small&amp;rdquo; repo takes forty minutes to clone.&lt;/p&gt;
&lt;p&gt;This chapter is about that. And we will do it in the order that actually teaches something: &lt;strong&gt;first&lt;/strong&gt; we show, from the object model you already know, &lt;em&gt;why&lt;/em&gt; Git is bad at big files. &lt;strong&gt;Then&lt;/strong&gt; we introduce Git LFS as what it really is — a clever workaround bolted onto the side of Git, with real costs.&lt;/p&gt;</description></item><item><title>Git for data and models</title><link>https://oripekelman.github.io/git-training/docs/git-data-science/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://oripekelman.github.io/git-training/docs/git-data-science/</guid><description>&lt;h1 id="git-for-data-and-models"&gt;
 Git for data and models
 &lt;a class="anchor" href="#git-for-data-and-models"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;Git was designed in 2005 to version the Linux kernel: text, written by humans, in lines, reviewed by other humans. A 4 GB checkpoint is none of those things. Neither is a Parquet file, and neither — as we shall see, painfully — is a Jupyter notebook.&lt;/p&gt;
&lt;p&gt;And yet the data and ML world runs on Git, because there is nothing else that does what Git does. This chapter is about how that actually works in practice: what the community has built on top, what it got right, and where you are expected to know things nobody told you.&lt;/p&gt;</description></item><item><title>Things inspired by Git</title><link>https://oripekelman.github.io/git-training/docs/inspired-by-git/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://oripekelman.github.io/git-training/docs/inspired-by-git/</guid><description>&lt;h1 id="things-inspired-by-git"&gt;
 Things inspired by Git
 &lt;a class="anchor" href="#things-inspired-by-git"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;We have spent a long time in the machine room. We opened &lt;code&gt;.git/objects&lt;/code&gt; with our bare hands, we followed a &lt;strong&gt;commit&lt;/strong&gt; to a &lt;strong&gt;tree&lt;/strong&gt; to a &lt;strong&gt;blob&lt;/strong&gt;, we watched a &lt;strong&gt;branch&lt;/strong&gt; turn out to be a forty-character string in a file. We learned that a name in Git is derived from the content it names, and that this one trick buys integrity, deduplication and cheap comparison all at once.&lt;/p&gt;</description></item></channel></rss>