Git From the Bottom Up

Git Basics Overview:
Repository: Collection of commits; defines HEAD for current tree.
Index: “Staging area” for changes before committing.
Working Tree: Directory with a repository, includes files.
Commit: Snapshot of working tree; creates revision history.
Branch: A name/reference for a commit.
Tag: Permanent name/description for a commit.
HEAD: Indicates currently checked-out branch or commit.

Workflow: Create repository → work in working tree → add changes to index → commit changes to repository.

https://jwiegley.github.io/git-from-the-bottom-up/

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top