Git / Docker / Linux
Practical developer guides
Work through a specific problem, check the result and understand the commands you use.
- gitUndo a Git commit: reset, revert or restore?
Choose how to undo a local commit, reverse a shared commit or unstage a file, with a reproducible Git example.
- gitResolve a Git merge conflict, step by step
Reproduce a Git merge conflict, edit the result, review the staged diff and complete or abort the merge.
- dockerFree Docker disk space without pruning volumes
Inspect Docker disk usage and choose targeted image, container or cache cleanup while preserving volumes.
- dockerDocker volume or bind mount: which should you use?
Compare Docker-managed volumes and host-directory bind mounts, with small examples of persistence and read-only access.
- linuxLinux permissions: what do chmod 644 and 755 mean?
Read numeric Linux permissions, understand directory search permission and apply different modes to files and directories.
- gitGit SSH Permission denied (publickey): what to check
Diagnose GitHub SSH authentication: check the remote URL, loaded keys, host fingerprint and repository access.
- dockerDocker port already allocated: find and resolve the conflict
Find the container or process using a Docker host port, choose another host mapping and verify the published service.