Programming and development articles.
Use git diff --check in PowerShell to find trailing whitespace, inspect staged changes, stage corrections again, and understand exit codes and untracked files.
Use git restore --staged to remove changes from the next commit while preserving the working file. Verify both diffs and understand new-file and HEAD cases.
Fix numeric ordering with sort comparators, sort descending, preserve the input array and order objects by numeric properties.
Learn why identical-looking Unicode strings compare differently, how NFC and NFKC change them, and how to preserve names while creating search keys.
Update an existing Git clone to a moved repository, check fetch and push URLs, and verify access without recloning.
Compare UTF-16 code units, Unicode code points and grapheme clusters. Count and shorten names and emoji without breaking them.