All tags
Start here · configAdvanced tmux, a config that grows with you, formats, layouts and more9 steps · 52 min read · People who know the tmux basicsStart the guide config
Narrow down
Guides1
Git17
- Tip
git config --get-regexp '^user\.'git config --get-regexp finds settings by a pattern in the keyLists every Git setting whose name matches a pattern, with its value.2 Dec 2026 - Tip
git config --global push.followTags truePush.followTags sends your release tags along with git pushPushes annotated tags on the commits you push, so release tags never stay local.30 Nov 2026 - Tip
git config --global core.quotePath falseCore.quotePath false shows accented file names in git as they areStops git from printing names like café as octal escape codes.30 Nov 2026 - Tip
git config --global tag.sort version:refnameTag.sort version:refname puts git tags in version orderSorts tags as versions, so v1.10 comes after v1.9 instead of before it.30 Nov 2026 - Tip
git config --show-origin --listgit config with show-origin tells you which file a setting comes fromShows the file behind every git setting, so you know where to change it.30 Nov 2026 - Tip
git config --global pull.ff onlyPull.ff only stops git pull from making surprise merge commitsMakes git pull refuse to create a merge commit unless it can simply fast-forward.28 Nov 2026 - Tip
git update-index --skip-worktree config/local.phpgit update-index --skip-worktree hides a local edit to a tracked fileTells git to treat a tracked file as unchanged so your local edits stop showing up.28 Nov 2026 - Tip
git config --global column.ui autoColumn.ui auto prints long git lists in columnsPrints git branch and similar lists in columns when the output goes to a terminal.28 Nov 2026 - Tip
git config --global core.excludesFile ~/.gitignore_globalCore.excludesFile gives git a global ignore list for every repositoryIgnores files like .DS_Store in every repository from one personal file.28 Nov 2026 - Tip
git check-ignore -v path/to/filegit check-ignore -v tells you which rule ignores a fileShows which .gitignore file, line and pattern makes git ignore a file.27 Nov 2026 - Tip
git commit -vgit commit -v shows your diff while you write the messageShows the staged diff in your editor while you write the commit message.27 Nov 2026 - Tip
name = Your NameIncludeIf gitdir gives your work repositories their own git emailGives every repository under one folder its own git settings, like a work email address.27 Nov 2026 - Tip
git fetch --pruneFetch.prune cleans up branches that no longer exist remotelyRemoves stale remote-tracking branches every time you fetch.24 Sep 2026 - Tip
git branch --sort=-committerdateSort your branches by last commit with branch.sortLists your branches with the most recently committed one at the top.18 Sep 2026 - Tip
git config --global push.autoSetupRemote trueSet push.autoSetupRemote and stop typing --set-upstreamMakes the first push of a new branch set up tracking automatically.13 Sep 2026 - Tip
git config --global rerere.enabled trueTurn on rerere and resolve the same conflict only onceMakes git remember how you resolved a merge conflict and reuse it next time.7 Sep 2026 - Tip
0123456789abcdef0123456789abcdef01234567Tell git blame to ignore a big reformatting commitMakes git blame skip commits like mass reformatting so it shows who really wrote a line.9 Aug 2026
Other tips7
- Tip
include extraconfig.txtinclude in config.txt splits your Raspberry Pi settings over several filesThe include line pulls another file into config.txt, but a few boot settings must stay in the main file.3 Dec 2026 - Tip
GRUB_TIMEOUT_STYLE=hiddenGRUB_TIMEOUT_STYLE=hidden keeps the GRUB menu out of sight until you need itHides the GRUB menu behind a short timeout, and the menu still appears when you press ESC or hold Shift.3 Dec 2026 - Tip
fc-cache -f -v ~/.local/share/fontsfc-cache -f makes newly copied fonts show up by rebuilding the font cacheGet programs to see a font you just copied into your home folder.1 Dec 2026 - Tip
SET PERSIST max_connections = 300;SET PERSIST changes a MySQL setting now and keeps it after restartApplies a server setting immediately without editing a config file.1 Dec 2026 - Tip
root = trueAn .editorconfig file keeps indentation the same in every editorPut indent and line ending rules in the project, so editors follow them.1 Dec 2026 - Tip
--smart-caseRIPGREP_CONFIG_PATH gives ripgrep a config file for your usual flagsStore the options you type every time in one file that rg reads.1 Dec 2026 - Tip
set-hook -g after-split-window "select-layout even-vertical"Tmux set-hook runs a command after an event such as a splitRuns a tmux command automatically whenever an event such as a pane split happens.28 Nov 2026
Shell6
- Tip
grep ^hosts /etc/nsswitch.confThe hosts line in nsswitch.conf decides who answers firstShows the order in which Linux asks /etc/hosts, DNS and other sources for a name.28 Nov 2026 - Tip
set -g status-interval 5set -g status-interval 5 refreshes the tmux status bar more oftenSets how often tmux redraws its status line and refreshes the commands in it.28 Nov 2026 - Tip
set -g word-separators ' 'set -g word-separators controls where w and b stop in tmux copy modeSets which characters tmux treats as word boundaries when you move by word in copy mode.28 Nov 2026 - Tip
set-option -wg automatic-rename offset -g automatic-rename off stops tmux renaming your windowsStops tmux from renaming windows after the program running in them.28 Nov 2026 - Tip
tmux clock-modeCtrl-b t shows a big clock and clock-mode-style sets its formatShows a large clock in a tmux pane, in 12 or 24 hour format, with or without seconds.28 Nov 2026 - Tip
sudo systemctl revert example.serviceSystemctl revert throws away every override of a unitRemoves drop-ins and overrides of a unit so it goes back to the vendor version.28 Nov 2026
Python4
- Tip
PYTHONDONTWRITEBYTECODE=1 python3 app.pyPYTHONDONTWRITEBYTECODE keeps Python from leaving __pycache__ foldersStop Python from writing pyc files into read only or shared project folders.30 Nov 2026 - Tip
import osPython pytest's monkeypatch.setenv changes an env var for one test onlyTest code that reads environment variables without leaking the change into other tests.30 Nov 2026 - Tip
settings = defaults | overridesPython's dict merge operator | layers defaults and overridesCombine default settings with user overrides in one readable expression.30 Nov 2026 - Tip
import tomllibPython's tomllib reads TOML config files without installing anythingReads a TOML file such as pyproject.toml with the standard library, no extra package.26 Nov 2026
AI2
- Tip
/import cursor --dry-run/import brings your Codex, Gemini CLI or Cursor setup into Claude CodeCopies instruction files, MCP servers, commands, subagents and skills from another coding tool into Claude Code.3 Dec 2026 - Tip
---disallowed-tools in a skill's frontmatter removes tools while that skill runsTakes chosen tools away from Claude while a skill is active, until your next message.3 Dec 2026
Web2
- Tip
npm config listnpm config list shows which config file set each npm optionSee the active npm settings grouped by the file they come from.1 Dec 2026 - Tip
define( 'SCRIPT_DEBUG', true );SCRIPT_DEBUG makes WordPress load the unminified scripts and stylesMakes WordPress load readable, unminified core scripts and styles so browser errors are traceable.28 Nov 2026
Docker2
Media2
- Tip
jellyfin --cachedir /srv/jellyfin-cacheJELLYFIN_CACHE_DIR or --cachedir moves the Jellyfin cache away from its configSets the Jellyfin cache directory with a command line option or an environment variable.28 Nov 2026 - Tip
JELLYFIN_HttpListenerHost__DefaultRedirectPath=/web/JELLYFIN_ plus a key with double underscores sets a Jellyfin config option from the environmentSets a main Jellyfin configuration option through an environment variable with double underscores.28 Nov 2026
Home Assistant2
- Tip
packages: !include_dir_named packagespackages group everything for one feature in a single Home Assistant YAML filePuts the sensor, helper and automation for one feature in a single YAML package file.28 Nov 2026 - Tip
automation: !include_dir_merge_list automation/!include_dir_merge_list turns a folder of automation files into one listMerges all YAML list files in a folder into one automation list.28 Nov 2026
Storage1
Network1
Security1
Nothing matches.