tools/

Git, the terminal, editors, debuggers and package managers.

8 results
tools/regular-expressions-describe-the-shape-of-text-and-watch-a-pattern-fin.md Regular expressions: describe the shape of text and watch a pattern find it A regular expression describes the shape of text instead of spelling it out, so one short pattern can find every phone number or check that… 4 min read · 14 Nov tools/file-permissions-what-rwxr-xr-x-means-and-why-a-script-says-permission.md File permissions: what rwxr-xr-x means, and why a script says Permission denied You run your first script and the terminal says Permission denied. Nothing is wrong with your code: every file and folder carries read… 6 min read · 2 Nov tools/git-stash-how-to-set-half-done-work-aside-without-committing-it.md Git stash: how to set half-done work aside without committing it You are halfway through a change when you need to switch branches, but the work isn't ready to commit. Git stash puts your unfinished edits… 4 min read · 30 Oct tools/gitignore-how-git-decides-which-files-to-skip-and-the-one-rule-that-su.md Gitignore: how Git decides which files to skip, and the one rule that surprises everyone Why does a file show up in git status when you wanted it hidden, and why does a file you ignored sometimes stay tracked anyway? Five short… 5 min read · 27 Oct tools/git-branches-why-making-one-doesn-t-copy-your-project.md Git branches: why making one doesn't copy your project When someone says "make a branch for that," it sounds like Git must copy your whole project. It doesn't. A branch is just a name stuck on… 4 min read · 20 Oct tools/git-staging-area-why-saving-your-work-takes-git-add-and-git-commit.md Git staging area: why saving your work takes git add and git commit Why does saving your work in Git take two commands, `git add` and `git commit`? Because a change travels through three places: your working… 4 min read · 17 Oct tools/git-merge-vs-rebase-same-code-two-different-histories.md Git merge vs rebase: same code, two different histories Git can combine two lines of work in two ways. Merge ties them together with a new commit and leaves every old commit alone. Rebase replays… 4 min read · 11 Oct tools/git-basics-where-your-work-lives-and-why-branches-are-just-pointers.md Git Basics: Where Your Work Lives and Why Branches Are Just Pointers Git saves your project's history as commits: snapshots you choose to take, each with a short message. The trick to understanding it is… 10 min read · 1 Oct