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.
Tag
Git version control, repository history, branches and safe everyday workflows.
Stop CRLF/LF changes from overwhelming code reviews. Inspect the index, introduce a shared policy, and normalize tracked files without hiding real edits.
Find 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.
Decide whether a release fix needs a direct cherry-pick, prerequisites or an adapted implementation, and investigate conflicts, equivalent patches and empty results.
Use a dry run and a specific path to inspect untracked or ignored files before cleaning a Git working tree.
When a merge pauses, markers show competing versions, not which to keep. Learn to inspect both sides, write the intended result and review before continuing.
Copy one ordinary Git commit onto a review branch. Inspect the patch, choose the receiving branch, apply it once and verify what arrived.
Reverse an ordinary commit that others may already have pulled. Use git revert to add a corrective commit, then inspect and test it before sharing.
Create an annotated release tag on the exact approved commit, review its target and push only that tag—even if your branch has moved since testing.