Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Series
2 posts found
#git-restore
DevOps
PART 26
Git 2.23–2.39: From checkout to switch and restore, Old Habits to New Ones
We put old and new side by side for what arrived between Git 2.23 and 2.39: the move from checkout to switch and restore, init.defaultBranch, pull's divergent branches error, sparse-checkout, maintenance, fsmonitor, ort and remerge-diff, rebase --update-refs, force-if-includes, safe.directory and SSH signing.
6 Nov 2026
11 min
4
DevOps
PART 16
Undoing Changes in Git, Part 1: git restore and git reset
Undoing files in the working tree and index with git restore and bringing them back from history with --source; what the --soft, --mixed and --hard modes of git reset do to HEAD, the index and the working tree, getting back with ORIG_HEAD, and the old checkout/reset forms.
6 Nov 2026
8 min
2