Mert Özen Further With Every Line

Blog

Mert Özen's blog posts on software development, backend, frontend, and DevOps.

Series
5 posts found #git-basics
Looking at Git History: git log, git show, git blame and Aliases
DevOps PART 06

Looking at Git History: git log, git show, git blame and Aliases

We move around history with git log's --oneline, --graph, --stat, -p, --format, --author, --since, --grep and --follow options and see the difference between -S and -G on a line whose price changed. We inspect a single commit and an old file version with git show, trace lines with git blame -L and shorten long commands with aliases.

6 Nov 2026 12 min 3
Tracking Files with Git: .gitignore, git rm --cached and git mv
DevOps PART 05

Tracking Files with Git: .gitignore, git rm --cached and git mv

We look at .gitignore patterns, exceptions with ! and how git check-ignore -v shows which rule applies. We see why an already committed .env stays tracked despite .gitignore and how git rm --cached untracks it, then cover global excludes, git mv and line endings with .gitattributes.

6 Nov 2026 9 min 2
Your First Git Repo: git init, the Staging Area and the First Commit
DevOps PART 03

Your First Git Repo: git init, the Staging Area and the First Commit

We build the bookstore repo from scratch with git init and take a first look inside the .git folder. We walk through the working tree, staging area and repository with git status, git add and git commit, and learn to read the two columns of status -s and why an MM file commits its staged version.

6 Nov 2026 9 min 2
Installing Git and First Settings: Starting Right with git config
DevOps PART 02

Installing Git and First Settings: Starting Right with git config

We install Git on macOS, Windows and Linux, check the version and look at the system/global/local config layers, user.name and user.email, why init.defaultBranch main matters, core.editor and core.autocrlf. We compare the git config list/get/set/unset subcommands (2.46+) with the old --get form.

6 Nov 2026 9 min 2
What Are Git and GitHub? An Introduction to Version Control
DevOps PART 01

What Are Git and GitHub? An Introduction to Version Control

Why version control exists, how centralized and distributed tools differ and why Git and GitHub are not the same thing. We try distributed work by reading history and committing in a clone whose server is gone, then look at Git's short history, its place in DevOps and how the series is organized.

6 Nov 2026 8 min 2
Blog Map