Skip to content

Posts

Git Basics: Practicing Fetch Pull and Push Locally

A remote can be another directory on your computer. Use a local bare repository to practice sharing commits without an account, network connection, or changes to a real project. …

Read more →

October 9, 2026

Git Basics: Marking a Version with an Annotated Tag

A tag gives a particular commit a memorable name. An annotated tag also stores a message and tagger information, making it useful for a version you want to identify later. Run …

Read more →

October 9, 2026

Git Basics: Ignoring Generated Files

A build directory or local log usually does not belong in a commit. A project’s .gitignore records patterns for files Git should leave untracked. Run these commands in Bash with …

Read more →

October 9, 2026

Git Basics: Unstaging Edits and Reverting a Commit

Before undoing a change, check where it lives: the working file, the staging area, or an existing commit. This exercise preserves your edit when unstaging, then reverses a …

Read more →

October 9, 2026

Git Basics: Staging Files and Making a Commit

Git records project snapshots as commits. The staging area lets you choose what the next snapshot will contain. Start with one file so you can see each step. Run these commands in …

Read more →

October 9, 2026

Git Basics: Reviewing Staged and Unstaged Changes

A file can contain both staged and unstaged edits. Git’s diff commands answer different questions depending on which two versions they compare. Run these commands in Bash with Git …

Read more →

October 9, 2026

Git Basics: Finding Changes in Commit History

Git history helps answer what changed and why. A short commit list gives you an overview; a patch shows the actual edit behind a message. Run these commands in Bash with Git 2.28 …

Read more →

October 9, 2026

Git Basics: Creating a Branch and Merging It

A branch is a movable name for a commit. It lets you develop a change separately, then bring that work into another branch when it is ready. Run these commands in Bash with Git …

Read more →

October 9, 2026

Linux Basics: Writing a Small Bash Script

A shell script saves a sequence of commands in a text file so you can run it again. This example accepts names as arguments and prints one greeting for each name. Use Bash on …

Read more →

October 8, 2026

Linux Basics: Understanding File Permission Bits

Linux files have permission bits for their owner, their group, and everyone else. Practice with a file you create yourself before changing permissions on anything important. Use …

Read more →

October 8, 2026