Learn

Working with files, terminal and AI on a Mac.

A gitignore that keeps macOS clutter out of your repository

A practical gitignore setup for Macs: where Git reads ignore rules, which macOS files leak into repositories, and how to clean up files Git already tracks.

Git push: what to do when the remote refuses your commits

A git push guide to reading rejection messages: non-fast-forward versus remote rejected, when force-with-lease is safe, and how to check before pushing.

Git reset hard: what it throws away before you run it

What git reset hard actually discards on a Mac, what survives it, the five reset modes compared, and how to recover through the reflog when it goes wrong.

Git revert: undo a commit that is already pushed

How git revert undoes a commit that is already pushed, how it differs from reset, how to revert a merge with -m, and how to finish a revert that conflicts.

Git stash: park unfinished work without losing your place

A git stash guide: what a stash entry really is, why untracked files are skipped, when to use apply over pop, and how to recover an entry dropped by mistake.

Git submodule: pull the folders nested inside a repository

Why git pull submodule leaves the nested folder on an old commit, what --init and --remote each change, and the config line that keeps submodules current.

The Google Drive folder on a Mac: where the files really live

The google drive folder mac question, answered properly: what the sidebar entry is, where the real path is, and which settings stopped applying to macOS.

Google Drive for desktop on a Mac: which files are really local

Google Drive for desktop on a Mac, explained by what is on disk: streaming versus mirroring, offline files, and the behaviour changes File Provider brought.