Git Line Endings: Fix CRLF/LF Churn with .gitattributes
Stop CRLF/LF changes from overwhelming code reviews. Inspect the index, introduce a shared policy, and normalize tracked files without hiding real edits.
Read articleArticles · Browse by topic
Practical guides to Windows, PC gaming, developer tools, and security.
12 stories
Stop CRLF/LF changes from overwhelming code reviews. Inspect the index, introduce a shared policy, and normalize tracked files without hiding real edits.
Read articleFind the commit that introduced a regression with Git bisect. Follow a tested Python example, automate the search, and learn when a test error can produce the wrong result.
Detached HEAD is normal. Learn how to keep a commit on a branch, carry uncommitted edits, and find a commit with Git's reflog.
Learn the difference between git fetch and pull, inspect incoming commits, and check for divergence before updating your branch.
Find the commit that added a string or changed a matching line. Learn how Git log -S and -G differ, with a practical example and search limits.
Use Git stash to park unfinished changes, switch branches, and restore the right work without dropping it too early. See how untracked files, conflicts, commits and worktrees change the choice.
Check staged and unstaged Git changes for whitespace errors and conflict markers, then understand what a clean result actually means.
Use a linked Git worktree to open another branch without disturbing unfinished edits. Check both folders, manage shared resources and remove the checkout safely.
Preview stale Git remote-tracking references before pruning, and learn when custom refspecs or tag settings need extra care.
Create an Ed25519 key in Git Bash, add only its public half to GitHub, test SSH, and check whether an existing Git remote still uses HTTPS.
Git still tracking a file in .gitignore? Check the rule, keep your local copy and review the removal, with clear advice for teammates and exposed secrets.
Check an existing Git tag without moving it. Compare local and remote object IDs, recognise missing or mismatched tags, and separate signatures from build provenance.