Git Undo Cheat Sheet: Fix Almost Any Mistake
How to undo commits, discard changes, fix the wrong branch, recover lost work with reflog and remove pushed mistakes safely.
How to undo commits, discard changes, fix the wrong branch, recover lost work with reflog and remove pushed mistakes safely.
Understand rwx, octal modes, chmod, chown, setgid, sticky bit and umask, and debug "Permission denied" with namei.
The Docker commands you use every day: run, logs, exec, build, volumes, cleanup, plus how to fix containers that exit or are unreachable.
A practical Bash reference: variables, arguments, conditions, loops, functions, arrays, string handling, redirects and exit codes with examples.
Handy shell one-liners for finding files, analyzing logs, processing text, renaming in bulk, monitoring the system and moving data.