Tagged articles

HEAD

6 articles · Page 1 of 1
Code of Duty
Code of Duty
May 17, 2026 · Fundamentals

Why Git Branches Switch Instantly: Understanding Branches as Pointers

The article explains that Git branches are lightweight pointers to commits, not full copies of the project, which makes switching, merging, and rebasing fast and cheap; it demystifies HEAD, merge, and rebase by walking through concrete commit graphs and examples.

CommitGitHEAD
0 likes · 9 min read
Why Git Branches Switch Instantly: Understanding Branches as Pointers
Liangxu Linux
Liangxu Linux
Mar 16, 2024 · Fundamentals

Master Linux File Viewing: head, tail, more, less, and cat Explained

This guide walks through essential Linux commands for viewing file contents—head, tail, more, less, and cat—detailing their syntax, common options, and practical examples for extracting specific lines, paging through output, and combining with other tools.

CATFile ViewingHEAD
0 likes · 12 min read
Master Linux File Viewing: head, tail, more, less, and cat Explained
Liangxu Linux
Liangxu Linux
Apr 1, 2020 · Fundamentals

Unlock Git’s Secrets: Inside the .git Directory and Commit Mechanics

This article explains how Git stores repository data by exploring the .git folder structure, the composition of a commit, object storage, and the role of branches, tags, and HEAD, providing concrete examples and command snippets to demystify Git’s inner workings.

.git directoryGitHEAD
0 likes · 9 min read
Unlock Git’s Secrets: Inside the .git Directory and Commit Mechanics